Jump to content


Issue information

  • #035335

  • Cannot Reproduce

  • 2.5.0

  • -

  • 0 - None Assigned


Issue Confirmations

  • Yes (0)No (0)
Photo

Categories and Featured File X main screenshot

Posted by Adriano Faria on 06 January 2012 - 03:09 PM

IP.Downloads 2.5.1 (X) is not honoring the chosen screenshot of file in categories and featured file.

File View (right screenshot):

Posted Image


Category and featured file:

Posted Image

changed status to: Confirmed - General

Hmm, there was work put into that specifically - I recall working to overcome that exact issue tbh.  I may need info from you to try to duplicate, but let me test again locally first.


Ok. Let me know if you need to look closer; I can open a ticket.


changed status to: Cannot Reproduce

The 'master' screenshot is applying correctly for me in category listings, portal blocks, featured file block and random file blocks.


Ah, you said "is not honoring the chosen screenshot".

You have not chosen that screenshot - that just happens to be the one it is picking.  When you do not select which screenshot is the default, the specific ordering is not defined.  While the screenshot that is chosen to represent the image as the 'default' is not truly random, you cannot just hope that the right one is chosen.

Edit the file and select which screenshot is the default if you want to enforce which one shows up in the listing. :)


No worries.

Effectively, in the listing we do something akin to "order by record_default DESC limit 1".  If you have an image marked as the default it is pulled of course (1 being greater than 0), however when nothing is marked as the default (all are 0), it is up to mysql what order to pull them in.






1 user(s) are reading this issue

0 members, 1 guests, 0 anonymous users