Thumbs & Orig OK, but displayimage.php won't show normal image
Normal http://pokegym.net/gallery/files/9/1...-25_249801.jpg exists.
Thumb & orig for this image exist.
However, if you upload an image under about 254 pixels width to this category, displayimage won't show you the normal size image.
2010-5-24 Roserade Ul 23/95 - Image Gallery
(Orig 254 pix wide)
2010-5-24 Roserade Ul 23/95 - Image Gallery
(Orig 240 pix wide)
Image and thumbs have been rebuilt for this category.
Images in question have been uploaded since the 2.5.1 upgrade. The user for this category kept uploading increasingly larger images from our standard 155 pix width until displayimage.php finally showed the image.
1. why are u using displayimage..??
displayimage is only used to watermark images on the fly..
but when I look at
it seems to be watermarked permanently allready so does not need to be watermarked a second time on the fly..
does the problem persist if you turn watermark off?
I meen if you do not watermark the files (or watermark permanently)
then you would NOT be using displayimage AND we could see if the files exist.
2. check your filetype settings (acp->vbgallery->edit filetypes):
As a general rule:
max width should be the same as max height
AND min width & height should be smaller than that value.
max width and height both set to 300
IF you upload an image that is bigger than 300px height or bigger than 300px width (example 350px wide and 250 px high)
you will have an original 350x250
a normal image about 300x20x
and a thumbnail
if you upload an image that is 299x200
You will NOT have an original.. as the image is smaller than 300
it will not be resized.
so you have :
normal image 299x200
you say you have set max width to 155
then you must have set max height to something different.. or left it empty
this can give unpredicted results depending on the image itself.
what it does.. it first checks if upload image is wider than maxwidth..
if not, it does nothing..
then it checks if is higher than max height.. if yes.. it will resize.. if no it does nothing..
so depending on what you have set as max height, it will only resize images that are wider than 155 px
1. turn watermark off (remove the filename from the field in acp)
we will then be able to see what the files look like.. (if they exist etc)
2. set your filetype to max width = max height and regenerate normal images (for that cat only) I would suggest you use a small cat to run tests.. so that you will not have to regenerate hundreds of images...
there can also be another problem...
display image will do strange things IF
your watermark logo is wider or higher than your image.. and you are using GD2 as resize method.
if this is the case open forums/includes/functions_gallery_imageedit.php
around line 633 find:
http://pokegym.net/gallery/siteimages/gymwatermark.png - the watermark image - is 253 pixels wide.
If the uploaded image is 254 pixels wide, it shows up, if not, it doesn't.
Just to answer your questions, not to justify our craziness...
Our staff wants to get discussion going on a card. They download it from our gallery with the watermark on it. The resize it and upload it to this 'Card of the Day' category, and I have a CMPS module that displays the last uploaded image from that gallery on page one (and links it to the discussion forum for Card of the Day). This way the members know what card we're discussing.
No one has ever remarked on the double watermark, that I can recall, except you. And well... we should have removed the watermark from the CotD gallery.
And now we have :)
I've also made a smaller watermark to employ if needed in other categories.
glad I could help..
you can also make the modification above, removing the width check..
the only thing that will happen is that the watermark will go over the border of the image.. but that is a smaller problem than the image not showing..
Someone check <a href="http://www.nflmlbstore.com/">Troy Tulowitzki</a>. Find out where he's been stored between games. by elite cornerback Nnamdi Asomugha on Sunday, <a href="http://www.nflmlbstore.com/">nfl footall Larry Fitzgerald</a> was limited to just two catches <a href="http://www.nflmlbstore.com/">Darrelle Revis</a> Something is up with that guy <a href="http://www.nflmlbstore.com/">Andre Johnson</a>.<a href="http://www.nflmlbstore.com/">NHL hockey Jonathan Toews</a>, stats, game logs, career, drafted, and more hockey news for Jonathan Toews <a href="http://www.nflmlbstore.com/">sewn and Customized jerseys</a>. It's the kind of thing that makes you just facts, <a href="http://www.nflmlbstore.com/">mlb baseball Vladimir Guerrero</a> news and notes on Troy Tulowitzki of the <a href="http://www.nflmlbstore.com/">Troy Tulowitzki</a> Colorado Rockies. player Pau Gasol news, stats,game log,hometown,college, basketball draft info and more for <a href="http://www.nflmlbstore.com/">NBA basketball Pau Gasol</a> Sells football shirts,<a href="http://www.nflmlbstore.com/">netherlands jerseys and kits</a>, football kits, socks and clothing for various national teams including England, Germany
Someone check Troy Tulowitzki. Find out where he's been stored between games. by elite cornerback Nnamdi Asomugha on Sunday, nfl footall Larry Fitzgerald was limited to just two catches Darrelle Revis Something is up with that guy Andre Johnson.NHL hockey Jonathan Toews, stats, game logs, career, drafted, and more hockey news for Jonathan Toews sewn and Customized jerseys. It's the kind of thing that makes you just facts, mlb baseball Vladimir Guerrero news and notes on Troy Tulowitzki of the Troy Tulowitzki Colorado Rockies. player Pau Gasol news, stats,game log,hometown,college, basketball draft info and more for NBA basketball Pau Gasol Sells football shirts,netherlands jerseys and kits, football kits, socks and clothing for various national teams including England, Germany
|All times are GMT -5. The time now is 05:53 PM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0