Minifrontpagepro for K2 Thumbnail doesn't show
- Posted by Alessio (8) Offline
Unfortunately I don't know, the site is in production and I can't make changes to the templates.
If needed, I can do a local test. But it is not clear to me why the default thumbnail file is created? The "Show Default Thumbnail" option is set to HIDE on all modules.
4 years 2 months ago #7
by Alessio
If needed, I can do a local test. But it is not clear to me why the default thumbnail file is created? The "Show Default Thumbnail" option is set to HIDE on all modules.
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
The xx_xx_default.jpg is generated only when the module can't find any image on the article. Is the xx_xx_default.jpg generated everytime you add new article?But it is not clear to me why the default thumbnail file is created? The "Show Default Thumbnail" option is set to HIDE on all modules.
Please Log in or Create an account to join the conversation.
- Posted by Alessio (8) Offline
No, the xx_xx_default.jpg is not generated everytime I add new article.
I didn't understand why it only happens sometimes. The images uploaded in the news are always of type jpg in 16: 9 format, of similar size.
4 years 2 months ago #9
by Alessio
I didn't understand why it only happens sometimes. The images uploaded in the news are always of type jpg in 16: 9 format, of similar size.
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
Really strange.
So the flow is :
1. You add a new article
2. Thumbnail is generated correctly and no issue happen.
3. But sometimes xx_xx_default.jpg is generated and then thumbnail is not displayed. Then you delete the xx_xx_default.jpg then the tumbnail is re-generated (the correct thumbnail) and the problem is solved.
Is it correct?
4 years 2 months ago #10
by TemplatePlazza
So the flow is :
1. You add a new article
2. Thumbnail is generated correctly and no issue happen.
3. But sometimes xx_xx_default.jpg is generated and then thumbnail is not displayed. Then you delete the xx_xx_default.jpg then the tumbnail is re-generated (the correct thumbnail) and the problem is solved.
Is it correct?
Please Log in or Create an account to join the conversation.
- Posted by Alessio (8) Offline
Yes it's correct.
My workaround, right now, is a cron job that deletes all files with "default" suffix every hour on /images/thumbnails/mod_minifrontpageprok2
4 years 2 months ago #11
by Alessio
My workaround, right now, is a cron job that deletes all files with "default" suffix every hour on /images/thumbnails/mod_minifrontpageprok2
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
Hmm, Anyway your server is not having kind of problem running out RAM, right? The server resources is good, right?
4 years 2 months ago #12
by TemplatePlazza
Please Log in or Create an account to join the conversation.