Images are used in different ways by WordPress.You can use a theme with images in layout, place images within your post/page content, display images next to visitor's name called avatars etc

learn more… | top users | synonyms (3)

0
votes
1answer
72 views

How can i specify the size of the image rendered by the_content();?

I can do it manually like this: echo get_the_post_thumbnail($post->ID, 'large'); But how can i set the size of the image rendered by the_content(); to Large too ?
0
votes
0answers
26 views

How to force attachment size for every post

I created a custom size like this : add_image_size( 'my-size', 615, 9999 ); Is there anyway i can force the ATTACHMENT DISPLAY SETTINGS SIZE to be always ('my-size') for every attachment?
0
votes
0answers
34 views

Server Path Information

I have a plugin that uses server paths to define the location of an Image Folder, however, I have decided to have a CDM or a new separate server to host my images. Currently all the paths look like ...
0
votes
1answer
27 views

How do I embed an image at actual size?

I'd like to give the user the option to insert images into posts, and have the image display at its actual size. How do I do this? Currently, if an image is selected from the media library, a ...
0
votes
0answers
60 views

Set Featured Post Automatically - First Image included IN the post

I want to set the featured image to the first image IN the post content. I've come across a few functions that grab the first image attached to the post. Sometimes a user will add an image to a post ...
1
vote
0answers
348 views

How to make thumbnails of uploaded animated gifs NOT animated

I am having an issue where I want the thumbnails of my animated gifs to NOT be animated. I tried to talk to hostgator about helping with this issue and they simply said that I must find a solution ...
0
votes
1answer
42 views

Retrieve First Image Function

I am using this function to retrieve the first image from a gallery in a post. However this doesn't work properly when I re-order the images in the gallery. It is stuck with the first image at the ...
0
votes
1answer
172 views

How can I get url from image tag in feed with fetch_feed?

I used this piece of code in functions.php to add featured image in <image> tag in feed add_action('rss2_item', 'add_my_rss_node'); function add_my_rss_node() { global $post; ...
0
votes
2answers
499 views

Limit image resolution on upload

I'm running into a problem where a particularly huge image is causing my VPS server to reboot because of memory issues. The configuration of this is out of my hands, it's sort of like the host's ...
2
votes
1answer
58 views

Is there a shortcut to change bulk BMP images to JPG images in a site?

Images in WordPress posts, as I understand, are uploaded manually. They are uploaded by default to uploads folder. A client of mine reported that, in one of his site, he uploaded all the images in BMP ...
1
vote
0answers
69 views

The alt=“” attribute is empty

My WordPress installation creates empty alt attributes inside images. I also installed the plugin SEO Friendly Images but it did not change anything. <img class="highmage" ...
0
votes
1answer
28 views

Why WordPress doesn't show pictures when I upload them in a new post?

I have a serious problem. When I write a new post in the edit window, I try to upload a picture via the media upload button, and it just doesn't add them. I just cant upload any type on media at all ...
0
votes
0answers
31 views

Add two images with Sweet Testimonials

Ok, I've customized Sweet Testimonials to add a before and after image to a client testimonial post that is added by clients on the front end of the site I'm working on: ...
0
votes
1answer
22 views

Does WP create multiple images?

When uploading an image in WP, does it creating multiple sizes (and multiple files) of the image? If so, are they all loaded or just certain ones (which and why)? Meaning, if x images are created ...
0
votes
0answers
18 views

Clicking the “Edit Image” button when editing a page shows the full website in the modal window - instead of the image properties

I'm experiencing very strange behaviour on a Wordpress site hosted on Windows. When editing a page and clicking on any image to bring up the two buttons (Edit and Delete), after I click the Edit ...
0
votes
0answers
17 views

Possible way to add Wordpress gallery caption

I am trying to add caption to Wordpress Gallery. I can only add caption to each images but, Is there a way to add caption to the gallery?
1
vote
0answers
31 views

Is a conditional image creation with add_image_size possible and which would be the best hook? [duplicate]

I try to get the Picturefill solution described here running with the latest Wordpress install. One thing I wonder is the following. Would it be basically possible to only conditionally create image ...
0
votes
0answers
50 views

Personalized images in widget MU site

I am using the module image-widget and is it possible to create personalized images for Multi user sites ? I want to make header, footer and right sidebar in image-widget. That is admin uploaded ...
0
votes
1answer
150 views

Programmatically use nextGEN Gallery [on hold]

Can I programmatically use nextGEN Gallery? By that I mean I like to programmatically create galleries, albums, add images, and then link them to posts in my WordPress site.
0
votes
0answers
79 views

Removing height and width from images with a caption

I am using WordPress with Twitter Bootstrap 3 and have an issue when it comes to images with captions. Images with captions are given a height and width attribute which stops them from being ...
0
votes
1answer
232 views

Advanced Custom Fields (ACF) Plugin - Random Image in Sidebar

I’ve created a Custom Post Type, “Slide”, and I’m attempting to load a random slide image, with title and caption, in my sidebar. I’m using the Advanced Custom Fields Plugin for the post/slide ...
2
votes
1answer
413 views

Add custom Attachment Display Setting for images

I've been doing a lot of research and I've yet to work this out. Can you add in a custom option in the Attachment Display Settings (part of Insert Media dialog in post editor)? What I'm after is the ...
0
votes
0answers
63 views

Breadcrumbs for Single Image page

As we know in different post we can use some image which we uploaded. This image can be used in many post but it has only one PARENT post. My question is how to track from which post the user came ...
0
votes
0answers
465 views

How to add fields to _wp_attachment_metadata?

I'm developing a custom metabox with the possibility to upload images and give the user the possibility of deciding whether those images are to be displayed on the front end or not, instead of having ...
0
votes
2answers
464 views

Display ajax preloader for large images within posts

Our WordPress installation runs only images within posts. Generally medium, lightweight images; but we are also publishing larger images, sometimes gif animated which take enormous time to load. When ...
0
votes
1answer
195 views

Fallback image size when using wp_get_attachment_image_src / full size compressed image

I am using ACF to pull images using ‘wp_get_attachment_image_src’ as such: <?php $image = wp_get_attachment_image_src(get_field('image'), 'large'); ?> <img src="<?php echo $image[0]; ...
0
votes
1answer
11 views

Using file extensions in image titles

I need to find some way to either update all the titles of my images to use the file extensions, or update the caption with all my images to be the file name. I have over 900 images, so doing this ...
2
votes
1answer
433 views

Image resize with image url

I am using wp_handle_upload() to allow users to upload the images in back-end and I want to re-size images to a custom size before uploading it. Is there any way without using any plugins or so to ...
1
vote
1answer
702 views

In Woocommerce theme need to add custom external link

I am new in Woocommerce plugins and i have requirements that in External/Affiliate product there is one "Product URL" field that is linking in to external url of "Buy now button". Now i want that ...
0
votes
1answer
613 views

Images are not showing after moving Wordpress installation from server to localhost?

I moved my wordpress installation from server to localhost on my pc using the instructions in the following link ...
0
votes
2answers
191 views

how to get image full path from WP_Post Object?

i want to get image full path so that i can apply it in the src attribute of image element. what i am getting right now is the image, generated from function: the_post_thumbnail(); which i can't ...
0
votes
0answers
34 views

Using ACF to Link Images to Colour

I'm working on a website, where clicking a colour swatch will change the colour of the image displayed. Essentially I need to upload a series of images with a colour attached to each image. I figured ...
0
votes
1answer
51 views

Exact image sizes

I am trying to define an image size of exactly 290 height x 180 width for all images uploaded to my WP site. I tried updating image sizes under Settings->Media->Image Sizes but these are only max ...
0
votes
1answer
121 views

Dynamically adding Captions to images

I have a site where the author has included Amazon Affiliate links. They've done this by adding the URL to product images. I'm wondering if there's a way to add a function that will automatically add ...
0
votes
0answers
31 views

displays only broken images in WPMU sub domains

I am using wp 3.8 the default .htaccess code, displays only broken images in WPMU subdomains. I tried to modify the RewriteRule to: RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) ...
0
votes
0answers
24 views

WP Gallery Image Page Issue When 2 galleries share one image

All attached images are stored in WP_POST table and have PARENT_POST which is only one. So if I put some image in one gallery the image will belong to that gallery(post). If I add the same Image in ...
0
votes
1answer
76 views

Black and White Thumbnail in WordPress Gallery

I want to have black and white thumbnail on page, and i want to show image in colour when mouse is on and when big image is shown (in lightbox) I have this -> ...
0
votes
0answers
84 views

*some* .jpg files not generating _wp_attachment_metadata

Not all .jpg files do this, but some, from as many as three different cameras, are not generating _wp_attachment_metadata. I don't think it's the PHP because some files do generate it. 2 theories: ...
1
vote
0answers
54 views

Add custom text in the media library image meta area

I want to add some custom text in this area in the media library: Is there a filter I could hook into or how can I add content there? If not, how do we do this using Javascript? I want the text to ...
1
vote
2answers
69 views

Do not display post images on front page

I have decided that for all pages where multiple posts are shown (e.g. front, category, tag pages), that post images should not be shown. Instead, featured images, if specified, should be shown next ...
0
votes
1answer
296 views

How to remove “Image Information” and “post date/author” from a media page?

I'm trying to use Wordpress to setup a simple website for my business, and I'm having issues with the gallery page. Once an image is clicked and brought to it's specific page, it includes author and ...
0
votes
1answer
36 views

Name Input from widget displays Sidebar name instead of saved data

I wasn't sure how to title this question,so I apologize. Let me first state that I have no experience with this type of code but I really need to this feature for my website, so I appreciate all the ...
1
vote
1answer
1k views

Create Image Uploader for Widget

I found this post// Use Media upload in custom widget on wordpress 3.5 I'm not experienced in any of this so I pretty much just copied the code he provided into my own functions.php file. I uploaded ...
1
vote
0answers
62 views

Export xml use/import images from theme directory

Is it possible to create demo.xml for a theme that when imported into fresh theme installation will use/import images from theme directory folder (e.g. theme/images/demo) rather than import media from ...
1
vote
1answer
521 views

How to Delete all Unused photos Function

I have the current problem : I run a WordPress website with Woo Commerce and every few days I refresh the product list deleting and importing over 8000 products at a time . Now, every single time I ...
0
votes
2answers
35 views

Extending site width according to the image size

The WordPress theme is for a comic reading site. Since image cannot be re sized because the text will be distorted, I need to extend the site width according to the image size in the post. Here is ...
2
votes
1answer
73 views

How to include a picture in a blog post such that it will show in Facebook?

Worpress Blog: 3.9 Theme: Twenty Eleven ( as a child theme ) Blog: http://beforewisdom.com I am using a wordpress.org blog. It used to be that if I put an image or video at the top of my blog ...
0
votes
0answers
40 views

Sideways8 Taxonomy Images add term issue

I'm using the Sideways8 Taxonomy Images plugin (latest version), with WP 3.7.1. I also use the woocommerce plugin (latest version). It all worked well till some point, where I really don't know why, ...
0
votes
3answers
59 views

Retaining original image size

Since I have a website for Comic reading, if I use reduced image sizes, it will also reduce the text which will be difficult to read. I want to retain the image size. No problem even if it creates a ...
0
votes
1answer
56 views

Crop image sizes directly from Media Library across network (not attached to post or page but sidebar)

I have a MU network setup and I'm pulling in media library images and displaying 4 of those images randomly from across the entire network. I've seen a few people on here using similar codes to do ...