PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 17th, 2010, 11:34 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2009
Location: Germany
Posts: 163
Question Pictures streched in Mid-Size

Hello,

I normally use a max image size of 1.000 px. Everything perfect. But one gallery has a max image size of ~600px instead. There I have the problems, that images in the mid-size are streched.

The max picture size is the only difference. Please have a look at the problem gallery here. And here is such a streched image, which should be midsize.

Any idea? At first it works. But now ... no idea.
Thank you in advance.

Regards,
Frank
vFranky is offline   Reply With Quote
Old April 17th, 2010, 04:09 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
Fünf ägyptische Pfund Vorderseite - Ägypten Bilder

That is not a medium image thats a regular image

what image processor are you using and what are the max and medium thresholds?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 18th, 2010, 07:30 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2009
Location: Germany
Posts: 163
Arrow

Quote:
Originally Posted by Chuck S View Post
That is not a medium image thats a regular image
But why is it not resized? It works a while ago, perhaps before the latest update?

It works with all larger images.

Quote:
Originally Posted by Chuck S View Post
what image processor are you using and what are the max and medium thresholds?
"Trigger medium graphic height and width" is 750.
Imaging Integration is GD2.
vFranky is offline   Reply With Quote
Old April 18th, 2010, 09:09 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
well it is not resized because the dimensions are 600 x whatever.

http://www.aegypten-bilder.de/data/7...order-X220.jpg

whats weird about your site is that the image is being enlarged our code doesnt do that. Our code should just show the image which is this

http://www.aegypten-bilder.de/data/7...order-X220.jpg

Looking at your source

Code:
Content visible to verified customers only.
Your height and width statements are nowhere near correct to match the actual photo thats being displayed.

Have you modified code?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 18th, 2010, 02:50 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Dec 2009
Location: Germany
Posts: 163
Unhappy

Quote:
Originally Posted by Chuck S View Post
Have you modified code?
No - I have no idea, use bigger images now as a workaround.
vFranky is offline   Reply With Quote
Old April 18th, 2010, 03:48 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
feel free to post a user test account so I can upload an image
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 19th, 2010, 04:51 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Dec 2009
Location: Germany
Posts: 163
Question

Quote:
Originally Posted by Chuck S View Post
feel free to post a user test account so I can upload an image
Hello Chuck,

I have had a look at the generated html source. Normally such code is generated -->
Code:
Content visible to verified customers only.
If there is no big picture (uploaded smaller pictures) it generates this and streches the small picture to width=1050,height=850 -->

Code:
Content visible to verified customers only.
The problem source might be this, as discussed here: At Line 768 of showphoto.php I set -->
Code:
Content visible to verified customers only.


But these sizes should only apply for the popup window of the maximized picture. But the side effect seems to be, that theses sizes are used for the sizing of a mid sized picture too, if no max picture and no popup is available.

I have to remove the width="1050" height="850" in this case. How to?

Without the code modification above, the popup window is a little bit too small to fit the max image (and the advertisments).

Thank you in advance.

Regards,
Frank
vFranky is offline   Reply With Quote
Old April 19th, 2010, 07:23 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
Yes as I asked earlier if you had hacked your files

You cant hard code a width and height anywhere but on this line here but alas I really cant tell you how to hack your files here.

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 19th, 2010, 08:43 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Dec 2009
Location: Germany
Posts: 163
Thumbs up

Quote:
Originally Posted by Chuck S View Post
You cant hard code a width and height anywhere but on this line here but alas I really cant tell you how to hack your files here.
Thank you. I will find a workaround.
vFranky is offline   Reply With Quote
Old April 19th, 2010, 10:00 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
No problem the line I noted is the java call which determines the window height and width. As long as thats all you change you should be fine. You can not change width and height anywhere but that line.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 19th, 2010, 01:11 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Dec 2009
Location: Germany
Posts: 163
Thumbs up

Quote:
Originally Posted by Chuck S View Post
No problem the line I noted is the java call which determines the window height and width. As long as thats all you change you should be fine. You can not change width and height anywhere but that line.
Yes, I was looking for a java call - this solves my problem of the too small popup-window.

Wonderful, Chuck!
vFranky is offline   Reply With Quote
Old April 19th, 2010, 02:16 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
enjoy your day
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Watermarks change size depending on image upload size. damon18 Classifieds Bug Reports 3 July 7th, 2007 04:23 PM
Foggy pictures once uploaded unless view at full size Visionz Photopost Pro Installation & Upgrades 1 August 9th, 2005 04:08 PM
Thumbnail size bigger than actual photo size? pengrus Photopost Pro How Do I...? 5 March 12th, 2005 07:05 PM


All times are GMT -5. The time now is 12:50 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0