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)

1
vote
0answers
86 views

Regex to turn embedded images in to attachments

I've got a blog that has all images embedded in each post rather than a thumbnail linking to an attachment page which is what I'd like. I understand from this question that no plugin (like Regenerate ...
1
vote
0answers
116 views

Exclude image titles from search results

I would like to exclude image titles from search results. For instance, if I have an image called image-wikipedia.jpg, right now, if I search for Wikipedia the story that uses that image is returned ...
1
vote
0answers
233 views

Adding (image) caching to my Tumblr widget

I've hacked together a simple plugin to show the latest image from a Tumblr blog. To avoid upsetting the Tumblr API (v1), I want to cache that image within Wordpress... I think perhaps I can do this ...
0
votes
0answers
11 views

different featured image size in rss feed

I'm looking to achieve a newsletter by mailchimp using the rss feed of my website - which works perfectly. However, I'm calling by mailchimp two different feed to create an offset - which works fine. ...
0
votes
0answers
5 views

Show images in albums inside album wordpress

I have a different question. How can I show images of galleries inside some albums inside a main album. So hierarchy is Main Album -- Some album1 ----galery1 ----galery2 ----galery3 -- Some album2 ...
0
votes
0answers
10 views

Display Post Image Wrapped in Div, Inside Link Tag

So I'm trying to wrap media images published in a post into a custom div, that is also wrapped in a link tag that has the permalink of the media image as it's href. Here's the filter that I've made so ...
0
votes
0answers
7 views

Customising the size of images served in Visual Composer elements

I'm using the Visual Composer plugin to build, or basically visually insert the shortcode for a number of sliders, latest blog posts and masonry grids. Most of these are set to use a posts featured ...
0
votes
0answers
19 views

Adding Image Gallery Metabox on Custom Post Type Wordpress

I have a custom post type, and I want the users to add multiple images or attachments aside from the featured image. I want to achieve something like this, I got this from the woocommerce products: ...
0
votes
0answers
6 views

jquery prettyphoto insert miniatures lightbox and navigation tools

I have a question to ask: why if in jqueryprettyphoto.js if I enter the parameter: hook: 'data-relay', / I can see navigation tools, twitter, facebook but I can not save the picture. however if I ...
0
votes
0answers
19 views

Featured image upload error

I have installed new wp-theme version 4.2.2. Everything was going well but when I use add_theme_support() in functions.php it makes problem to upload images. It showing an error: "An error occurred in ...
0
votes
0answers
14 views

Background image slider specifically for rows?

I'm trying to get a background image on a single row, but with a background slider. I can get a single image on a row, but not a background slider for the individual row. I've tried a few plugins, ...
0
votes
0answers
24 views

File Not Found error returned when trying to access Media Library in Wordpress 4.2. Plugins cannot be installed either

Please help me figure out how to access my media files through the admin dashboard. All media files are present at the server level. I can upload a file through the admin dashboard, but cannot see ...
0
votes
0answers
14 views

Add WYSIWYG to Image Description field

I need to build this thing: It's essentially an image with a caption, and it can go inline anywhere in the text. I could just create a shortcode for it I suppose, but I'd really like to integrate ...
0
votes
0answers
12 views

Need advice for uploading images and generating sizes

I would like some advice on creating a image upload system(this maybe a plugin or a script on a page, it doesn't matter). I have a image site were each image is an post. I want to be able to upload ...
0
votes
0answers
25 views

WP All Export + Realhomes Theme -> Full Image Path

Second challenge for today :P I'm using WP All Export + REALHOMES Theme for Wordpress in localhost. I'm facing some issues: When adding pictures to a property (post), in this theme you need to use ...
0
votes
0answers
20 views

Can you check if a post WYSIWYG field has an image in it?

I'm using Advanced Custom Fields and a WYSIWYG field type. Can you determine via php if that field has an image in the content OR is there a better was to evaluate this. For example, if I upload an ...
0
votes
0answers
12 views

Why wordpress can't generate metadata of big images

I have the following upload routine (compact): $movefile = wp_handle_upload( $file, $second ); ... $attach_id = wp_insert_attachment($attachment, $filePath); $attach_data = ...
0
votes
0answers
17 views

Slider in fullScreen, progress by mouse click

I'm trying to build a gallery or slider in fullScreen and make the progress between images to be made by clicking with the mouse in all areas of the picture, all I found till now is running with ...
0
votes
0answers
10 views

get_children() show deleted attachments of the post

I have a problem with the attachments in a post :( If I upload an image into a post and after I delete it, Wordpress show the image as still attached to that post. This is my code to retrive the ...
0
votes
0answers
19 views

Can't Upload Images

I have a WordPress site on my webserver and have recently copied it to my localhost testing environment using XAMPP (bitnami) to work on it, and proceeded to re-upload the site back to the server ...
0
votes
0answers
10 views

Get Images in Sequence in which added in post

I am trying to get images in sequence in which I put them in the post but not able to get them in sequence. The code that I added : <?php while ( have_posts() ) : the_post(); ...
0
votes
0answers
11 views

Stop images from being displayed on the front-end of the site

I run a store with woocommerce on Wordpress, however there is an image called 'basket.png', and for some reason it has taken the link /basket on the site. Is there a way to disable all of the ...
0
votes
0answers
6 views

Image sizes “stuck” on previous values

My image sizes are stuck on previous values. I previously was managing images with Simple Image Sizes plugin, but I noticed a discrepancy between the value I set and the actual image size. I then ...
0
votes
0answers
9 views

load each gallery image on new page

I am looking for a way to load each image in my gallery on new page like this, here when you click on next button new image loads but on new page, any plugin or ajax that I can use to achieve this? Or ...
0
votes
0answers
165 views

Visual Composer creating own shortcodes with vc_map() to return simple Image

I am using the Plugin Visual Composer with in a new Theme I develop. My question is about mapping shortcodes to Visual Composer arrays. The problem I get, when I try to make a custom element for an ...
0
votes
0answers
19 views

Base Image Missing When Uploading Images With Wordpress

Whenever i upload an image (ball.png) wordpress will auto generate a bunch of smaller images that are different sizes. e.g. ball-300x200.png. These images display fine, but when i set on of these ...
0
votes
0answers
30 views

hook wp_get_attachment_image_src

I am using wp pods custom fields for custom post types.. I am holding image links in custom fields. With a hook to "post_thumbnail_html" i fixed thumbnails but when i need wp_get_attachment_image_src ...
0
votes
0answers
24 views

How to delete all images and image meta data attached to a certain post type?

I have a custom post type called books, I have 1000s of images attached to these posts in books using Advanced Custom Fields. How can I run a query to delete all of these images that are attached to ...
0
votes
0answers
12 views

Database level import of featured images and link to posts - How?

I have been attempting to import about 50,000 images into 50,000 posts in WP 4.2.2. The _posts table data is all correctly imported already. I know I need to import to _postmeta table and add new ...
0
votes
0answers
20 views

Theme Load Error

For 2 days I'm struggling and hitting my head to find out the solution but no thing. The website isn't loading images on front-page and news-ticker not working at all. I tried to reuploading the ...
0
votes
0answers
21 views

wp_get_attachment_link filter for not working for inserted images

I want to change the value of title attribute of attachment link of the image by caption. I am using following code. It works fine for the images in gallery. But when try to do this for the inserted ...
0
votes
0answers
17 views

Custom Field value to

I don't know how I could solve this problem. I'm importing a csv file and this contains also an imglink (external) and it will creat a post draft for me. What I want to achieve is that the imagelink ...
0
votes
0answers
28 views

Wordpress CORE API - plupload

I've create a form for upload image from frontend but i do not know how can use plupload "Core API" http://plupload.com/examples/core Look the code below. <!– HTML – upload photos –> <div ...
0
votes
0answers
37 views

Grab Current URL & Add to Cart Woocommerce

I have been researching of a way to do this but have been unable to find an answer to my question. There are answers on there on how to grab the current URL etc but it is not the answer I was looking ...
0
votes
0answers
9 views

Get the dimensions of an embedded image

I am trying to position content based on the size of the first embedded image in a post. I am retrieving the image URL using a custom function, and then using another function to retrieve the ID of ...
0
votes
0answers
34 views

Prevent WP from wrapping html in caption shortcode after 'image_send_editor' filter is applied

In my functions.php I have cooked up some functions to filter the attachment output code, when an attachment is sent to the editor. function filter_image_send_to_editor($html, $id, $caption, ...
0
votes
0answers
34 views

Why can I not paste an image from the clipboard?

At some point, I remember being able to paste images from the clipboard straight into my post as I was editing. This no longer works. I just upgraded from 3.something to 4.2.2 to see if that would ...
0
votes
0answers
18 views

displaying page attachment image in custom widget

So I have this custom widget where you can select a page from a dropbox and the widget will lead you to this page. The problem is i have no idea how to display the page's attachment image. ...
0
votes
0answers
52 views

Select image and display from textfield?

I use the built-in filemanager to select an image from a form. <input id="upload_image1" class="rp-input-field" type="text" name="f16" value="<?php echo isset($upload_image1);?>" ...
0
votes
0answers
24 views

Wordpress - adding image pixel restrictions for Featured Image metabox (postimagediv)?

I am wondering how can I add pixel size restrictions for images uploaded within a metabox called Featured Image. E.g. if the image uploaded is not 400 x 400 pixels it would be rejected. (not cropped ...
0
votes
0answers
18 views

Thumbnails crop setting doesn't show

When I set crop area in edit image panel usually I have area "Thumbnails settings" where I can choose that this new image size should be used for all image formats or only for thumbnail. I updated ...
0
votes
0answers
31 views

Image Uploader not generating Thumbnails and showing Image URL

I have a WP site and image uploading was working fine and it was creating thumbnail but now its not working. Adding image to post and publishing also not showing image. My site is comicsforest.com ...
0
votes
0answers
91 views

image_send_to_editor filter - Unwanted paragraphs and line breaks

I'm using image_send_to_editor to filter the output the images that are inserted to my posts. The filter works perfect except for when I'm updating/saving the post. A new paragraph with a line break ...
0
votes
0answers
17 views

Get post attached in sequence

I'm trying to do a reader, that will take images that are attached to the post.Kinda like a comic book reader, which has a button to the next image. However only saw snippets that show to catch the ...
0
votes
0answers
23 views

After I upload a file to library its name converted to dashes

I've a problem when I upload Attachment file (any extension) with Arabic name, for example اسم الصورة.jpg, It renamed to -------------.jpg ! I've plugins to crop the uploaded Image, I tried to ...
0
votes
0answers
83 views

how to set as responsive the attachment images in wordpress post

I am using wordpress 4.2.2 on windows 7, testing my website with Wamp server before publishin definitely on a live server on the wwww. SO far so good, but tonite I encountered a problem. I could ...
0
votes
0answers
12 views

How to connect media files to links from posts?

I'm having a hard time figuring this one out. I have a website being transferred from a totally different platform. It has over 2000 posts and the hold over 10000 images. I have managed generating ...
0
votes
0answers
33 views

Bulk delete posts with no featured image

I need to mass delete some posts that dont have a featured image assigned. Is it doable with a sql query? The only thing I could do, was to retrieve orphan posts ID as a list. Please help! :)
0
votes
0answers
64 views

How to scrape data from a URL and put it into a post

I'm looking for a way to allow users of my site to enter a URL into a form field and have it scrape that URL for a <title>, <description>, and the first image on the page, of which it will ...
0
votes
0answers
17 views

Photos page, to display photos from content library

I want to make page that would be called Photos and would have chosen photos from media library, each one linked to its media file. For example something like Facebook albums. It could be done with ...