stop original from resizing. stop original from resizing.
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

stop original from resizing.

Started by xxserenity, November 29, 2010, 01:54:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xxserenity

I have been looking through the search and can't find anything so I'm gonna post my question.

The images that I'm uploading to my gallery are quite large and when I click to view original picture, it's resizing it. How do I stop this? I have been trying to play with the file settings but nothing seems to work.

Sample:

http://a-eckhart.org/img/displayimage.php?album=56&pid=22#top_display_media

When you click on that, that isn't the original size of the photo and you can tell. How do I make it so the original picture of the size is what pops up?

StrongEagle

Under Config, go to the Files settings.  Set the max size and max width/height to a value large enough to include your photos.

Then, set 'auto resize' to No.

xxserenity


StrongEagle

When you get the pop up 'full size' image, right key it (I am using Firefox).  One of the menu options is 'Image Info'.  When I click this in Firefox, I can see that the original image size is correct, and it has been resized by the browser.  (In Internet Explorer you only see the resized dimensions).

Again, in Firefox, I can right click 'View Image'.  This presents me with the image and a zoom magifying glass.  If I click the image, then I see it full size.  I cannot do this in IE.

So... the question becomes... who is doing the scaling?  The browser software or the javascript?  The full image has been sent to my local PC because I can view it in FF as noted above.  If I take a look at the page source for the intermediate image, the javascript shows the correct fullsize... so I don't know where the resize is occurring.

Quote<td align="center" style="{SLIDESHOW_STYLE}">
                                                <a href="javascript:;" onclick="MM_openBrWindow('displayimage.php?pid=787&amp;fullsize=1','12829121994cf30c90b826a','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=3077,height=2307')"><img src="albums/vietlao/brian/normal_DSC01223.JPG" width="400" height="300" class="image" border="0" alt="Click to view full size image" /><br /></a>


xxserenity

Exactly, older versions of the gallery I've had doesn't scale once I click on the resized picture to see the fullsize. I know I can do the view image thing but I don't want to have to resort to that.

StrongEagle

For fun, I set resizeable to NO in displayimage.php but that didn't work... was still yes in page source.