[LON-CAPA-users] jpg vs JPG

Nathan Schoenack lon-capa-users@mail.lon-capa.org
Wed, 26 Nov 2003 16:21:26 -0600

Hi Gerd,

You said:
>So I think what the browser does is adjust the image size of JPEGs to
>windows, but not to frames.

That makes sense.  My knee-jerk explanation was to say it was the browser
without a doubt, but I started getting confused by the upper/lowercase

You said:
>Currently, I do not see how uppercase or lowercase .JPG could have an
>impact, but I have been wrong before.

Upon further investigation, it turns out that Dr. Khayyat was using a
different file conversion program than he was using previously (our scanner
saves as .bmp's).  It seems this other conversion software somehow enlarges
the images, or the old software reduced the size of the images to an
appropriate size.

Either way, our problem has been solved and I thank you for your help.


ps. I thought it'd be messy to go in by-hand and rename the files.  I'll
resist the temptation.

I would very much recommend *against* going in by hand and renaming the
files, especially since currently I do not see how the case of the
extension could make a difference. Just FYI, you would find the files
in /home/httpd/lonUsers/ndsu/(courseID)/userfiles/ - if you rename the
files, you also need to change the references in
/home/httpd/lonUsers/ndsu/(courseID)/userfiles/default.sequence or
whichever sequence the images are referenced from (do a "grep" on the
image filename on all *.sequence files in that userfiles folder), and
then make sure to re-initialize the course.

- Gerd.

On Nov 26, 2003, at 11:40 AM, Nathan Schoenack wrote:

> 	I am noticing some peculiar behavior when I display uploaded course
> documents.  One of our professors uploaded his class notes as .JPG
> files
> (not lowercase '.jpg').  When I view them through my browser from the
> menu, the files are larger than the desktop.  When I view them from
> the DOCS
> menu, the images auto-size to fit my browser.
> 	Initially I assumed it was a browser issue, but I also notice that if
> he
> renames the file from the "Main Course Documents" page, the name is
> unchanged in the "Navigate Contents".
> 	For the previous 4 chapters worth of notes that either he or I
> uploaded,
> all the file extensions were .jpg (lowercase); we see none of this
> behavior
> with those files.  It seems that simply renaming these files isn't
> doing the
> trick.
> 	I thought I'd just log on to the server, find the files and rename
> them.
> But, I'm not having much luck finding the file directly.  One thing i
> did
> notice in trying to find the file on the server was that the address
> to the
> file from NAV page is different than the address when in the DOCS page.
> (There's an extra "/adm/wrapper" in the address from the NAV page)
> 	Does anyone have any light to shed on this behavior, or any
> suggestions to
> fix it?
> 	Nathan Schoenack
> 	NDSU Physics
> ps. maybe this is an ADMIN question...I wasn't sure where to post it.
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users

LON-CAPA-users mailing list