WeBid Bug Tracking - WeBid
View Issue Details
0000003WeBidGallerypublic2009-04-09 23:292009-04-11 22:53
Box Lot 
 
noneminorhave not tried
resolvedfixed 
0.7.3 / 0.7.4 
 
3
0000003: Single Gallery picture with "Cancel" for full thumbnail loses picture on Edit
Really kind of a follow up to an old thread but started clean here per Renlok's instructions but here is the related thread:
http://www.webidsupport.com/showthread.php?t=360&highlight=picture[/URL] [^]
(partially fixed but only if you select a thumbnail with the guide. Don't think follow through test with this scenario was done or another edit broke it again.)

It appears that editing an existing auction with a single picture and a full size thumbnail (via the new "cancel" in thumbnail selection) loses the picture if you go to edit the auction later. Confirmed on Renlok's test site as well as my own.

So it appears that the default full thumbnail using "cancel" as noted in the gallery creation doesn't work long term.

The image does pop up briefly during review page and I think in the auction as well but quickly disappears.

EDIT: Further inspection using image tools shows that the image is on the page but not visible (or super tiny). Left it on test site for you to look at Renlok/anyone.

Sorry to find it again. Priority only lower due to core work going on now but highest in terms of general function as many use single pictures and full thumbs.
No tags attached.
Issue History
2015-04-01 13:17renlokNew Issue
2015-04-01 13:17renlokimport_id => 3
2015-04-01 13:17renlokDate Submitted2015-04-01 13:17 => 2009-04-09 23:29
2015-04-01 13:17renlokLast Update2015-04-01 13:17 => 2009-04-11 22:53

Notes
(0000007)
renlok   
2009-04-11 10:38   
(edited on: 1970-01-01 00:00)
oh good find, here's a fix
in edit_active_auction.php change
[php]if (in_array($file_ext, $file_types) && $RELISTEDAUCTION['pict_url'] != $myfile)[/php]
to
[php]if (in_array($file_ext, $file_types) && (strstr($RELISTEDAUCTION['pict_url'], 'thumb-') === false || $RELISTEDAUCTION['pict_url'] != $myfile))[/php]
(0000010)
Box Lot   
2009-04-11 16:29   
(edited on: 1970-01-01 00:00)
Fixed!

Sorry to pull you away for this one but thanks for getting to it. (no smilies on this board but insert grin!)
(0000011)
renlok   
2009-04-11 22:46   
(edited on: 1970-01-01 00:00)
lol well it made a nice change from doing the ever so boring work on the payment gateways.
(0000012)
Box Lot   
2009-04-11 22:53   
(edited on: 1970-01-01 00:00)
I can only imagine, tedious too I expect. Better man then I am!