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
311 views

How to get cropped thumbnail source for custom post type

I need thumbnail image url with size 148*148px. I using custom post type for testimonials. I need just the image source like http://example.com/demoimage.jpg. It is possible to get cropped image ...
0
votes
0answers
9 views

Load image/PDF on page *AFTER* it's been generated by web server

I'm putting together a basic webpage that will take in a few inputs (alphanumeric), feeds those inputs to a script that runs on the same web server, but behind the scenes, and generates an image or ...
-1
votes
0answers
4 views

Activate JetPack's Carousel on images that are not in gallery?

Does anybody have a clue how can I enable JetPack's Carousel activation on a single image? So when i click on a image link, it shows the image in JetPack's carousel lightbox? I really would like to ...
0
votes
2answers
20 views

Get image from one page and show/add it on another page

We have one custom requirement that when we add an image (suppose a car image) in the homepage, after that when I'm creating a new page, I always want that car image to appear on the right hand side ...
0
votes
0answers
10 views

How can I hook and edit on the fly an image uploaded

I'm new in wordpress plugin development and I'm trying to hook my function to one of wordpress's upload / attachements functions. My target is to: - hook to wordpress function (I've tried: ...
2
votes
2answers
5k views

Images not showing after moving site (but path id OK)

I moved (actually copied) a wordpress site (http://inglesen100dias.com/) to a new server and domain (http://blog.inglesen100dias.com/). I followed the process described in Wordpress' website ...
-1
votes
1answer
22 views

are there plugins to place text on images? (searchable text I mean) [on hold]

This sounds like a stupid question and it very well might be -sorry if it is Last time I used wp was 2004 and now I'd like to make a new blog/magazine/shop kinda thing so I'm checking to see if there ...
0
votes
2answers
847 views

Get single image from custom fields made with WCK custom fields creator

I used WCK Custom Fields Creator to create a repeatable custom field for uploading pairs of images (one color, one black and white) to posts. So for example, one post may have three fields, with two ...
-1
votes
0answers
8 views

Set first images as Featured if not any featured image in genesis [on hold]

Iam using genesis framework and i need if any post not have featured image, To set first images as Featured. And show it in grid of my theme. How can do that.
9
votes
7answers
17k views

How do I get the avatar URL instead of an HTML IMG tag when using get_avatar?

I'm using a plugin called Simple Local Avatars which lets me upload author images which are stored on my server locally (no Gravatar). The plugin works fine and get_avatar returns the local avatar. ...
0
votes
1answer
122 views

Images getting corrupt automatically

I had switched theme of my blog, but when i opend my blog i saw there that thumbnail of posts( featured image) are not showing up. I moved to my old theme back but images are still corrupt showing. ...
0
votes
1answer
209 views

Fancybox just loading small white square

I've tried what I could, but cannot get my image to load with the fancybox plugin. The plugin is there, and seems to load, but without the image. Instead I get a small white square on the top left of ...
10
votes
4answers
22k views

How To Retrieve An Image Attachment's Alt Text?

I am using an attachment.php file to show large versions of images that have been clicked on elsewhere. I'd like to pull the image alt text as a caption under the image with javascript, but the alt ...
0
votes
1answer
26 views

For what does WP generate Thumbnails?

My WP install currently generates thumbnails and an extra medium sized image for every image that I upload. I don't see WP using these images everywhere so from my perspective these images are just ...
0
votes
0answers
4 views

Programmatically upload images from post's html source to media library

I have created many pages that were previously prototyped with plain html. I just copied the html source from prototype and pasted to the editor in text mode. The html source contains image tags which ...
0
votes
1answer
22 views

Update all images url imported from HTML pages

I have to copy content from different website. I copied whole webpage and paste it in my post. All works fine. I also get images in my post but they are still linked to older website. Is there any ...
0
votes
1answer
317 views

Changing logo image in header.php upon language detection

So i'm designing a website that will feature the Polylang plugin for automatic language detection, but I've run into a bit of a wall with the logo image. It resides in header.php, but I can't think of ...
0
votes
0answers
10 views

Image slide not appearing on website [on hold]

Images not displaying on my site only [nivoslider id=”676″] is shown What would I need to do in order for the images to show?
0
votes
2answers
24 views

Adding featured image messes up page layout [on hold]

I got someone to design the wordpress side of my site and now I need to try to understand what they did and would be grateful for advice.I have a Page that shows sections and stages (which are ...
0
votes
1answer
13 views

How to replace all images in all posts and pages with a different size?

I'm about to reboot an old blog of mine and therefor I'm creating a new theme from scratch. Before I'd align pictures left and right, because it seemed good. But now I want to make it much cleaner and ...
0
votes
0answers
11 views

wp_get_attachment_image_src() regenerate custom size images everytime

i try to make simple gallery from post's attachment images with custom sizes. i wrote simple loop: $original = array(); $gallery = array(); $gallery_min = array(); $imgs_args = array( ...
0
votes
1answer
20 views

Generate image for newly added size

I have added a new image size to a wordpress site with lots of images already present with all their thumbnails. Is there a way to do this: given the post using a specific image, get the attachment ...
2
votes
9answers
480 views

Graphing libraries for WordPress [closed]

I had asked question like this long ago at WPTavern and it fizzled. Hope it fares better this time. :) Drawing graphs can be done with multiple methods (generating image files, JS, Flash) and there ...
6
votes
2answers
164 views

Generate Thumbnails only for Featured Images

I would like to know if there is a simple way (custom code or plugin) to create thumbnail sizes only for images that I intend to use as featured images (index.php, archive.php, etc.) , but not for the ...
0
votes
1answer
10 views

How to show images uncropped after uploading?

As you can see, I've uploaded an image of book. Whenever I upload images, wordpress seems to crop it all the time. Is there a plugin or a code I can put to where it will show the whole picture ...
0
votes
0answers
7 views

Anomaly with response coming from XML RPC Api get Post (integer out of range)

I am getting the following xml snippet back from a getPost call... <member> <name>image_meta</name> <value> <struct> <member> ...
0
votes
0answers
21 views

Show image EXIF info

I am working on image gallery site. On test site (which is on shared hosting) I created and tested theme and plugins. I know that WP store some extra info about image during image upload (EXIF/IPTC ...
0
votes
0answers
4 views

Only i can see that the images are missing, but other user see them just fine showing

Im using the newest version of the newspaper theme. I’m also using the Wp smush pro picture size reducing plugin Can you help me on a very odd problem. Only on my computer and also when the article ...
0
votes
1answer
472 views

Disabling auto-resizing of uploaded images

Whenever I upload a large image, it gets resized to the width of the post. This will be a negative feature for comic reading sites. I need to display the full width images, which I can resize when I ...
0
votes
1answer
378 views

Automatically Add Caption in image

I want to automatically add caption for each picture appears in the name of the image or the alternative text example Caption add automatic
0
votes
0answers
19 views

Removing default alt text autofill or overriding it

What I'm trying to do is check if the user has entered the alt text for an image, and if not, then add alt text containing the post title to the image. I found a function that does this here: ...
1
vote
3answers
81 views

Responsive Images

Is there a native function to display the correct responsive image size for post thumbnails or gallery images depending on the screen resolution? Normally I'm using: 1.Custom image sizes: function ...
2
votes
2answers
1k views

Automatically replace original uploaded image with large image size

As our users regularly upload ~6MB images to use on the website (and aren't too familiar with how to resize them first), WordPress stores the originals as well as resizing them to several different ...
25
votes
9answers
12k views

Restricting Users to View Only Media Library Items They Have Uploaded?

I want users to be able to upload photos using add_cap('upload_files') but in their profile page, the Media Library shows every image that's been uploaded. How can I filter that so that they can only ...
1
vote
1answer
29 views

Get Attachment ID from URL [duplicate]

I have the URL of an image which I know is an attachment. Now, I need to find out the attachment ID. This is what I've got (thanks to PippinsPlugins): // retrieves the attachment ID from the file ...
0
votes
1answer
14 views

Images not showing on homepage after migration [duplicate]

I have a website with one section not displaying images after migration, the src attribute returns empty urls, the site is intpro.co.zw and the section im referring to is on Latest Properties What ...
0
votes
0answers
22 views

Featured image on page set as “Posts page” in Settings > Reading

Settings > Reading is set to "Actualites", which is a static page I created that uses index.php as template. In it, the_post_thumbnail() doesn't work (although I set a featured image in my ...
0
votes
1answer
418 views

Site migration - some images not displaying in Media Library

After migrating a site from the live server to my test server (different URL), some of the images (not all) are not displaying. The src is correct, image is in the uploads folder, and everything ...
-1
votes
1answer
49 views

If image width bigger than height [duplicate]

I'm making new theme with bootstrap, and having little trouble setting up content. Firstly content is set up like this: <div class="row"> <div class="col-sm-12"> <?php ...
1
vote
1answer
122 views

Understanding and altering the structure of posted images

Currently this is the (default) Wordpress image output: Float left, with caption, link to img <figure id="attachment_10220" style="width: 167px;" class="wp-caption alignleft"> <a ...
2
votes
1answer
2k views

How do I delete all UNUSED images from my uploads directory?

I am trying to clean out my uploads folders as they are now starting to take up too much room on my server. I have tried to use plugins to achieve this end such as DNUI and Cleanup Images but these ...
7
votes
1answer
162 views

How to change image type for specific size?

I am optimizing a site with large (dozens) quantity of images on page in a grid. For retina support the images are also need to be 2x sized. The low hanging fruit was to make sure the thumbnail sizes ...
0
votes
1answer
1k views

Some images not found 404 in localhost

I just transferred a WordPress installation from the domain to my localhost. I did all the usual steps: copy files, export DB and replace domain.com with localhost, update wp-config.php and refresh ...
3
votes
4answers
1k views

Overide Gallery Default Link to Settings

Is there way to control the gallery default “Link to” setting? Using the image_default_link_type filter within a functions.php file works on inserting single images into posts but it doesn't seem to ...
1
vote
1answer
358 views

All links to images are broken in a subdomain multi site environment

I've just installed a fresh copy of Wordpress 3.8.1, and then enabled the network feature using sub-domains. In cPanel, I have the wildcard sub-domain pointing to the Wordpress folder, and Wordpress ...
0
votes
2answers
441 views

How to change the order of elements within a post?

I have a site with several thousand posts. They all have just a single attached image of varying size. All posts are displayed in full (no thumbnail view). I'd like to be able to change the way the ...
4
votes
3answers
601 views

List most recent image uploads, but only for specific custom post type

I can get a list of the most recent image attachments like so: $attachments = get_posts( array( 'post_type' => 'attachment', 'posts_per_page' => $number, 'post_mime_type' => ...
0
votes
0answers
8 views

Cannot upload any image into wordpress after changing from multisite to single site

I have recently changed a site from multisite to single site by changing and commenting the parameters in the wp-config.php. After doing so I cannot upload any file into the media library. The upload ...
0
votes
2answers
1k views

Get image post ID in media upload

I am developing a plugin that adds a Custom Post Type to my theme. It's a retail directory and the post type is a retail listing. Everything is working fine. I can upload content to the DB and then ...
0
votes
0answers
4 views

Custom Image Sizing in Content Editor Uses Small Image

I'm trying to use the custom image size option in the Add Media part of the Content Editor, and when I do, it uses the Medium image as the base for the resizing, which results in blurry images if the ...