PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Bug Reports (http://www.photopost.com/forum/classifieds-bug-reports/)
-   -   First uploaded image not listed with the other thumbs (http://www.photopost.com/forum/classifieds-bug-reports/132192-first-uploaded-image-not-listed-other-thumbs.html)

tomzl June 14th, 2007 02:05 PM

First uploaded image not listed with the other thumbs
 
Stumbled onto this behaviour by chance.

When posting an ad you are given 5 lines to pick which files to upload.

Example 1
If you choose a file for the lines 1,3,4 (leave 2 blank), the first image will not show among the thumbnails. Instead its supersize link will be visible under the preview picture. It's preview picture can only be seen when you visit the ad. After you click on any of the other thumbs, you cannot get the preview of the first image back since there is no thumb for it. Apart from that the supersize link of that first image will stay displayed under the preview spot. Even when you choose other images, the link will still point to the supersize version of the first picture.

Live example: http://forum.bmwslo.com/oglasi/showp...0&limit=recent


Example 2
The interesting thing is that this does not happen when you upload only two files to lines 1 and 3 (also leaving 2 blank). In this case everything appears to be fine.

Live example:http://forum.bmwslo.com/oglasi/showp...9&limit=recent


Example 3
When you upload ony one image by putting it in line 2 or 3, the ad will be published but no picture will be visible.

Chuck S June 14th, 2007 02:27 PM

You always need to put a file in spot 1 I can say that and as far as files in general the way they are processed they are an array and you should always put them in order 1 2 3 etc etc

However I tried your example and it works fine

http://www.reeftalk.com/classifieds/...php?product=40

1 3 and 4 show fine and note the empty number 2

tomzl June 14th, 2007 05:58 PM

Sorry, you are indeed correct (I wrote the wrong lines). The problem occurs when you fill places 1,4,5 or just 1,4 for that matter.

Chuck S June 14th, 2007 06:53 PM

Thats better thanks

Well nothing is wrong with the upload portion etc.

See the problem is this. Your honestly doing something I think no one will ever do because you always as I stated before you upload images in a line. The thing is if there is some special code that is needed for that first thumbnail to set that image as the image display and if you dont have a 2nd or 3rd image then the image is null display follow me.

Thus I have rewrote the code to do a different check just incase someone is dyslexic and doesnt follow the 1-6 direction. Download the build and reupload showproduct.php

tomzl June 14th, 2007 07:16 PM

Quote:

Originally Posted by Chuck S (Post 1198613)
Thus I have rewrote the code to do a different check just incase someone is dyslexic and doesnt follow the 1-6 direction. Download the build and reupload showproduct.php

Thanks, will take a look at it tomorrow. It's 2AM here so time to sleep.

You would be surprised how many users manage to find ways to get programs to perform strangely. :) But those are the best testers. :D

Chuck S June 14th, 2007 07:23 PM

LOL yeah indeed but as stated in several years of this program being out no one has ever pointed that out.

tomzl June 15th, 2007 03:14 AM

Works perfect with the fix. Great job! ;)

Chuck S June 15th, 2007 07:01 AM

Enjoy your day I am just starting mine here


All times are GMT -5. The time now is 09:19 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97