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
0
votes
1answer
27 views
How to make plugin work in each template in wordpress
I am new to plugin development .I want to get all images of a particular page/post and want to show them as slideshow below the page ..Currently i am able to gather all images in media library and ...
0
votes
1answer
181 views
How can I add a 'Click to Enlarge Image' feature, with the enlarged image opening in a popup?
I have several images of UI forms and tasks, that are quite large. I would like to display a smaller, 'thumbnail' image snf give the user an option to 'Click to Enlarge', and then display the fill ...
0
votes
1answer
84 views
CLOSED - Change the output for [gallery] shortcode
I'm sorry if this question was answered here, but I couldn't find it.
Is possible to change the HTML output of [gallery] shortcode (without plugins)?
I would like to show the thumbnails as another ...
0
votes
2answers
50 views
Link images to post
Link images to post.
Hi all
I'm sure this is simple but I can't see how to do it.
I know how to add images to a post - Click in the post, Add Media, choose thumbnail.
This gives me an thumbnail in ...
0
votes
0answers
56 views
How to create array of images and titles
I'm trying to find the best way to create a page that has different images and titles of the image on a page within Wordpress so that a user can just add the image and the title and it will then add ...
0
votes
1answer
23 views
How come the images arent loading properly?
The images on our wordpress site recently stopped loading. All you see is a broken image box like such.. www.theloftycsei.org.
Any assistance in remedying the issue would be greatly appreciated as we ...
0
votes
1answer
41 views
Why can't I see my attachment page information for an image?
I'm following a course where the tutor uploads an image to his media library. He adds attachment information. He then creates a new post and includes the image. When he clicks through, he gets the ...
0
votes
1answer
41 views
Is there a good way to use CMS images with CSS
I am building a responsive wordpress theme that allows for a custom banner image to be uploaded to each page. However, because of the responsive nature of the theme I need to set the images as ...
0
votes
1answer
52 views
How can I use wp_save_image_editor_file filter?
I would like to use wp_save_image_editor_file filter, but there is no documentation on the internet. Also, it seems that no matter how many arguments I pass to the handler, all are null.
3
votes
1answer
39 views
Filter what image sizes get generated
I'm looking for a way to chose what images sizes get generated by image. With all the image sizes I have plus a lot of images, in the end I have a whole lot of server space being used up for nothing.
...
0
votes
0answers
45 views
Set featured image randomly from Wordpress Database on post submission
Basically every time that I publish a post I want that a random image from my wordpress database be set as the feature image for that post.
Can someone help me with this please!
0
votes
0answers
16 views
Delete Image and Associated Posts
When I delete an image from the media library, I'd like to automatically delete the post that uses the image. Any ideas?
0
votes
3answers
36 views
Get custom thumbnail sizes [duplicate]
If I use:
add_image_size('main_image', 750, 375, true);
to add additional thumbnail size. Then how can i get that size if i have only key main_image.
2
votes
1answer
43 views
How to change the naming of the resized image files
Now with custom image sizes Wordpress is almost as powerful as timThumb / phpThumb. There is one problem however. The way Wordpress handles the resized images are chaotic and doesn't survive theme ...
0
votes
0answers
73 views
Change Media Manager image link behaviour (not to link to direct file)
Is there a way or a plugin to modify / replace Wordpress media manager's default way of handling images in pages / posts?
Bad (default) behaviour:
If you insert an image, the link to the file gets ...
0
votes
1answer
97 views
Height and width attribute not setting by the_post_thumbnail
I am using following code to display images in home page:
if ( has_post_thumbnail() ) {the_post_thumbnail('postbox-thumb')
But the output of the above code does not have height and width of the img ...
0
votes
0answers
13 views
Removing Spaces
Can anyone help me delete the spaces I have between my image columns? I have 25 pictures, 5 across and 5 down and need to have the pictures look like one big picture with no spaces in between.
0
votes
1answer
33 views
Upload image from other server without resize?
For image upload in my plugin i am using media_handle_sideload function. Is it possible to disable image resizing on this function?
0
votes
1answer
52 views
Images not showing and plugins not installing on wordpress server move
I have recently moved my wordpress site from localhost to an apache server with plesk. Upon doing this my images are not appearing on the website despite still being in the media folder (however I ...
0
votes
1answer
33 views
Fetch the latest post with attachment image
What I want to do seems to be simple but I can't get around it. I'd like to get the latest post that has an image attachment. A little help would be appreciated.
Thanks
Lita
0
votes
1answer
29 views
Image attachement management - a philosophical question
I'm building a theme which includes displaying images which are not embedded in the body of the post by the user.
I understand the correct approach to this is to use the concept of attached images - ...
0
votes
0answers
12 views
Random Image Shortcode [duplicate]
I have a great little shortcode for displaying random images. Works wonderflly--however, the output defaults to the upper corner of the main container element--as though it is being written after the ...
0
votes
1answer
136 views
Display different header images based on current page
I want to display, based on the current page another header image.
Short example:
Home -> Image A
PageId 1,2,3,4 -> Image B (2,3,4 are childs of page
1)
PageId 5, 6 -> Image C
...
I tried to ...
0
votes
1answer
158 views
Facebook post image not being shown when other people share it [closed]
I share a link on my facebook page, pick thumbnail and post it, but when other people share it there is only description, why is the thumbnail not appearing when they share it?
Linter stuff seems ...
0
votes
1answer
175 views
removing inline styles from wp-caption div
Inline width and height attributes were never a huge problem with images in WordPress, since these were easily overwritten with CSS.
The problem I'm having is that any images with captions are being ...
0
votes
1answer
72 views
Changing 2011 theme header image based on user dropdown
I posted earlier about changing my site's CSS based on user-choice from a drop-down and storing it in a cookie, which I think I have now resolved, and sort-of have working at the following address ...
0
votes
2answers
44 views
Link post images to post
For some reason I can not find any good solution to making the post images link to the post.
I found a script on http://wpguy.com/plugins/linked-image/ which works - but does not remove the old link, ...
1
vote
1answer
51 views
Make Images appear in the same order as in media browser using get children?
I would really like my images to display in the same way I've ordered them in the media browser. What am I doing wrong?
$images =& get_children( array('post_parent' => $post->ID,
...
0
votes
2answers
137 views
Remove rel=“attachment wp-att-XX”
When you add an image with "Add media" to the WYSIWYG editor the link around the image automatically gets a rel="attachment wp-att-XX". I would like to remove this with a script - Can anyone help me? ...
1
vote
1answer
77 views
Way to force media uploader use custom image size
I've implemented media uploader to my custom category image plugin and was wondering can I somehow force it use my custom image size I've set only for categories.
... So in screen shot above, I'd ...
0
votes
1answer
54 views
Custom image size doesn't work
I'm developing my own theme. I'm trying to remove the default WordPress image sizes medium, large and full. I also want my own image size, vividflow-full-width. I'm using this Sumtips tutorial.
At ...
0
votes
1answer
25 views
Uploading Images for a section
I am looking for some help with a problem please. I am building a site for a friend who is a travel writer. She has loads of images she has taken over the last few years.
Here is the question, we ...
1
vote
2answers
76 views
Dynamic-Image-Resize Plugin does not output anything
I'm having trouble using the "Dynamic-Image-Resize" plugin by "Kaiser Franz Josef".
In my template I'm adding following code:
$imgsrc = wp_get_attachment_image_src( get_post_thumbnail_id( ...
0
votes
1answer
42 views
how to display all images from their siblings/ from same parent?
I need to know how to display all images from the current page siblings.
for eg. I got two parents (Hockey and football) with children.
In all this children I got one or several images attached (I've ...
0
votes
2answers
87 views
Are seven additional image sizes are too many?
I am developing a theme which uses different image sizes. So I will be adding 7 image sizes, are they too many? Could that break anything like the image size selector, other parts of the interface or ...
0
votes
1answer
46 views
Some images suddenly not appearing
I'm having trouble with some images not showing up. These were fine and then suddenly stopped working for no apparent reason. A couple of examples:
...
-2
votes
2answers
78 views
Is there a secure way for the public to submit images, videos, and documents using WordPress?
I want the public to submit images, photo simulations, models, video, animation, illustrated narration, papers and other publications and multimedia. images - 30" x 42" 300 dpi . pdf format file size. ...
0
votes
1answer
95 views
Link to full size post thumbnail
I´m using this code:
<?php
// get portfolio
$args = array( 'post_type' => 'portfolio', 'posts_per_page' => 100, 'orderby' => 'title', 'order' => 'asc' );
$loop = new WP_Query( $args ); ...
0
votes
2answers
57 views
Featured Image keeps cropping
I've spent hours trying to figure this out and its driving me mad. I'm not great with php code so I'm not sure if I'm doing this the best way anyway...
It should be simple - I have built a custom ...
0
votes
1answer
141 views
limit number of images shown from gallery
I'm not sure if I'm doing this the right way.. I want to display 4 random images as part of the header of a page. I created a post called Header Images and inside it is a gallery with a bunch of ...
1
vote
0answers
117 views
Show category images on single product page and product overview page
I am running a woocommerce shop and I have products which are in multiple categories. I would like to show the category images on the single product pages. And also on the product overview page.
I ...
0
votes
1answer
47 views
Autosort uploads in galleries by filename
A client of mine wishes to not have to sort images uploaded into a post gallery, but instead rely on its filename for sorting (e.g. "01_sample.jpg", "02_sample.jpg"). This would save a lot of time for ...
0
votes
1answer
58 views
What happened to the media manger?
Since WP 3.5 (right?), the media manager has been "streamlined" and images are no longer, as I can see it, ordered by year / month in the media manager, although they are still saved as before.
Is ...
0
votes
1answer
90 views
Wordpress creates unused (unregistered) image sizes
I have a news blog created on WordPress. I've set up WordPress to create 3 resized versions of images when uploading them.
315x215(featured image with cropping option enabled)
620x (to create images ...
0
votes
0answers
17 views
wp insert attachment from local drive [duplicate]
Is there some way to upload images from local drive to posts without using dashboard.
Something like function wp_insert_attachment, bur for that function is a rule that files must be on server.
0
votes
1answer
361 views
Responsive image slider/rotator using multiple image sizes [closed]
There are many WP image slider plugins that claim to be responsive. So far, all the ones I've looked at resize images on the fly e.g. with CSS. A small-screen or mobile user is forced to download ...
1
vote
1answer
75 views
How can I autopopulate titles in the media library?
I have hundreds of images in my media library, most have which have no titles.
In the media library, the "(no title)" message is displayed along these images.
Since I generally have one image per ...
0
votes
1answer
174 views
wp_get_attachment_link() add rel attribute if the link points to direct image
I'm using filter like this to add rel attribute in wp_get_attachment_link()
add_filter( 'wp_get_attachment_link', 'sant_prettyadd');
function sant_prettyadd ($content) {
$content = ...
0
votes
1answer
37 views
How do I implement an image viewer and rotator? [closed]
I am currently in the process of redesigning a WordPress site. There is a thing I want to have on my new site that I see all the time on other sites.
Take a look at http://muvere.com/ and ...
8
votes
2answers
191 views
What is a good alternative to using $content_width for image optimization?
The $content_width GLOBAL in WordPress effects many themes and even some plugins by limiting the size of images and embeds in posts, it is a requirement for themes submitted to wordpress.org.
It is ...