Questions tagged [thumbnails]

Thumbnails are reduced-size versions of pictures, used to help in recognizing and organizing them, serving the same role for images as a normal text index does for words.

3149 questions
38
votes
11 answers

How to display Woocommerce Category image?

I use this code in PHP: $idcat = 147; $thumbnail_id = get_woocommerce_term_meta( $idcat, 'thumbnail_id', true ); $image = wp_get_attachment_url( $thumbnail_id ); echo ''; Where 147 is the…
MrRoman
  • 793
  • 2
  • 7
  • 17
37
votes
2 answers

How do I get Facebook to show my site's logo when I paste the link in a post/status/comment?

Facebook sometimes does this really neat thing where they show a thumbnail preview of a website you link to in a status update. It is usually the website's logo. I'm wondering what the trick is to get this to work for my site, so if I were to share…
Hristo
  • 45,559
  • 65
  • 163
  • 230
35
votes
9 answers

Creating thumbnails from video files with Python

I need to create thumbnails for a video file once I've uploaded to a webapp running python. How would I go about this... I need a library that can basically either do this for me, or that can read the image frames out of video files (of several…
Alterlife
  • 6,557
  • 7
  • 36
  • 49
34
votes
5 answers

HTML : Is there any way to show images in a textarea?

So I want to show image thumbnails too in the