How to show ONLY 1 Thumbnail

  • Cusimano
  • Topic Author
  • Visitor
  • Visitor
11 years 2 months ago - 11 years 2 months ago #33020 by Cusimano
How to show ONLY 1 Thumbnail was created by Cusimano
Hi I would like to show only 1 Thumbnail of a gallery with many photos inside.
In other words I would like to show only the first thumbnail of my gallery and no all the thumbnails.
I tried to delete the thumbnails the plugin creates in automatic but they reappear every time.
Please I would like to fix this problem.....very important for me :(

Thanks :) :) :)
Last edit: 11 years 2 months ago by Cusimano. Reason: grammar mistakes

Please Log in to join the conversation.

More
11 years 2 months ago #33033 by ivan.milic
Photo gallery is not for that if you can not find alternative we can create some simple component like you want for you as custom job with price under 100eur

Please Log in to join the conversation.

  • Cusimano
  • Topic Author
  • Visitor
  • Visitor
11 years 2 months ago #33038 by Cusimano
Replied by Cusimano on topic How to show ONLY 1 Thumbnail
I have just spent 15 Usd for the plug in :(
100 euro is too much.

I appreciated your quick response but the price you are requesting me is too expensive.
I like your plug in and you don't have to re-edit it all....just some string to let me decide how many thumbnails I want to show.

Please think about it and let me know.

Best Regards.
Mario.

Please Log in to join the conversation.

More
11 years 2 months ago - 11 years 2 months ago #33052 by ivan.milic
Maybe you can just hide all except first one , put this in index.php of template just above closing of BODY tag </body>:

<script>
jQuery(document).ready(function(){
jQuery("#gallery > a:not(:first)").hide();
});
</script>

maybe it will do the job.
Last edit: 11 years 2 months ago by ivan.milic.

Please Log in to join the conversation.

  • Cusimano
  • Topic Author
  • Visitor
  • Visitor
11 years 2 months ago #33067 by Cusimano
Replied by Cusimano on topic How to show ONLY 1 Thumbnail
Yes it works perfectly, thank you.
In the "article" now it shows me only the first thumbnail of a gallery.

But now in the "Category blog" page I see only the first gallery: the other are disappeared. So is it possible to show 6 thumbnails in a page ?
In other word can I edit the file index.php so that I can show one thumbnail in a page and 6 thumbnails in other page?

Thank you very much.

Please Log in to join the conversation.

More
11 years 2 months ago #33070 by ivan.milic
You can maybe put that script in module that shows only on particular pages, but you need to configure editor plugin to allow <script> tag.

Please Log in to join the conversation.

Time to create page: 0.096 seconds
Powered by Kunena Forum