[LON-CAPA-users] jpg vs JPG
Wed, 26 Nov 2003 17:05:21 -0500
We are not doing any server-side resizing of images, so this resizing
is definitely happening in the browser.
Now here's the difference between viewing from DOCS and from NAV: when
viewing from DOCS, you get the raw file (well, more or less, but for an
image, that's true). When viewing from NAV, we do need to bundle
navigation information into the output, so that Forward and Previous
as HTML when running Remote-less.
is where /adm/wrapper comes in - it uses frames to do this (unless you
are in accessibility (screen reader) mode, which I assume you aren't.
So I think what the browser does is adjust the image size of JPEGs to
windows, but not to frames.
Currently, I do not see how uppercase or lowercase .JPG could have an
impact, but I have been wrong before.
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
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.
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
> (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
> 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
> all the file extensions were .jpg (lowercase); we see none of this
> with those files. It seems that simply renaming these files isn't
> doing the
> I thought I'd just log on to the server, find the files and rename
> But, I'm not having much luck finding the file directly. One thing i
> 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