|
Attention: Last reply in this thread was more than 16 Years ago |
|
Thread Tools |
#1
|
||||
|
||||
Random Appearance/Disappearance of Thumbnails
A few months ago I asked about getting Photoplog thumbs to not show thumbs from a certain category. http://www.photoplog.com/forum/showthread.php?t=1538
The final solution worked fine for me, but when I upgraded today and made the edit to the settings.php file, something strange happened. If you take a look at the page, you may see thumbs, you may not. Each time I refresh the page, or re-click the gallery link, it's random. Sometimes the thumbs show, sometimes they don't show at all. Any reason why that would happen? |
#2
|
||||
|
||||
This was by design to prevent the selection of all rows from the table, i.e., a way to optimize an ORDER BY RAND() query without grabbing all the rows. The downside, especially for small galleries, is that sometimes no random thumbnails show. As you currently have a small gallery, remove the following from the query in the PhotoPlog Forum Home Thumbs plugin, but as the gallery gets bigger, you should put it back:
Code:
Content visible to registered users only.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#3
|
||||
|
||||
Alrighty, thank you. So I could safely comment this line out until the Gallery grows a little larger?
|
#4
|
||||
|
||||
Yep, you can remove that line, but bigger galleries should keep that line.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
Tags |
disappear, reappear, settings.php, thumbs |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vbadvanced change thumbnails to random | Daz wilde | "How Do I..." Questions | 1 | 04-19-2010 09:44 PM |
File List and Random Thumbnails Images missing | Marris | Troubleshooting & Problems | 7 | 01-19-2006 03:54 PM |