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
1
vote
1answer
40 views
Get meta data from image
How can I get the description of the image?
$album_id = get_the_id();
$photos = $wpdb->get_results(
"select * from wp_postmeta where post_id = '"
. $album_id
. "' AND meta_key = ...
0
votes
0answers
39 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
-1
votes
0answers
13 views
Custom image bg picker
I wanna make the user be able to pick an image and post that picked image some where binded to the picker..
fx i wanna be able to let the user pick a background for their website?
Is their any ...
0
votes
2answers
30 views
Additional image sizes are not being generated
When I upload an image through the admin interface, the image is only saved at full-size. The other sizes are configured to their default values in Settings > Media. The automatic resized versions are ...
0
votes
1answer
38 views
How to use Facebox in WordPress theme?
I am trying to add Facebox (a lightbox type image viewer) to my WordPress theme at but presently the images are not loading. I have tried hard coding this and also using the Facebox WP Gallery plugin ...
1
vote
1answer
43 views
Is it possible to pull and display a single landscape oriented image
I wanted to know if this is possible. I have gone through a lot of threads on the internet for this one and there does not seem to be one good solution. I run a business website based on wordpress and ...
0
votes
1answer
52 views
Control resizing of uploaded images
I am looking for the regular images that get uploaded from the media uploader. I want to put in an image resize script instead of using WordPress to manage the images. The main reason being is that I ...
-1
votes
1answer
28 views
Image width issue in IE [closed]
For some reason images are being displayed as a thin line in IE 8 and earlier and i cannot work out why this could be. I'm using CSS to re-size the images for the homepage, the reason for me using CSS ...
0
votes
0answers
31 views
Custom post types images go to a specific folder, not the montly one
I have a website which allows "mini sites", meaning custom post types.
We noticed that the images that are published along the mini-sites reviews go automatically to the same month, while regular ...
0
votes
0answers
60 views
Nivo Slider Pulling In Wrong Size Image
I have tried changing the CSS, although I'm fairly sure the problem is not with the CSS. The theme has the slider at 940px by default, but I want to change this to be full width (or at least wider). ...
0
votes
0answers
50 views
Errors when uploading images in WP 3.5.1
I am using U Design and keep getting an error message in my Featured Image page. It says
"An error occurred in the upload. Please try again later." Any help would be greatly appreciated.
0
votes
0answers
32 views
Remove full size image in wordpress
I am using wordpress 3.5 and everuthing is good except that each time one image uploaded, it will created many unnecessary image sizes. I confirmed my theme and found that it does not use the full ...
0
votes
0answers
18 views
Plugin Manipulating Images
I am doing a plugin for Wordpress that manipulates image.
Where is the best place to save them and what it's the best way to save to images, considering that I am using GD ...
0
votes
1answer
51 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 ...
0
votes
0answers
28 views
Images inserted with HTML
I coded some images each image tag with a new line, so visualy you would have a row of images. When I previewed the page instead of showing me a row of images it showed me a column of images. It seems ...
1
vote
1answer
26 views
Shortcode for a link and thumbnail
<?php
// Add Shortcode
function blog_shortcode( $atts ) {
// Attributes
extract( shortcode_atts(
array(
'id' => '',
), $atts )
);
// Code
if (has_post_thumbnail()) {
$url ...
0
votes
0answers
70 views
Http error when upload some images
I'm using Wordpress 3.5.1 on Debian Wheezy with PHP 5.4.4.
I have increased memory in php.ini to 512M.
It is a new Wordpress with no plugins.
When i try to upload images, some images won't upload :
...
2
votes
1answer
76 views
Hide custom image sizes from media library
I want to hide a few custom image sizes from the media uploader:
The following code (posted here) works only for the default image sizes:
function remove_image_sizes($sizes) {
...
0
votes
1answer
51 views
Adding different classes to different images depending on size for fine control of image layout in posts
I have all the CSS classes set to display images in a custom portfolio theme. I am allowing for images of different sizes and proportions (landscape, portrait, etc) to be tiled next to each other and ...
0
votes
0answers
23 views
Why aren't correct-size image versions created according to Media Settings?
I currently have Media Settings on my blog to set to the following. Note the settings for 'medium' and 'large' sized versions.
But once I upload an image, the post-upload media manager doesn't ...
0
votes
1answer
41 views
Upload unnattached image from frontend
I am using the below function to let users upload files from the front end. It works great except that I would like the file to NOT be attached to any post. Currently, the file is automatically ...
-1
votes
1answer
34 views
How to link images of one WP site to another WP site?
My first site is having 92 categories to display more than 10,000 SMS. Now I want to insert random images to all my posts (SMS) from my other site which is having images as per my categories in SMS ...
1
vote
1answer
32 views
Get author ID with attachment ID
I have a page, outside the loop, that display a media attachment with some basic info about it (title, uploaded date, etc). I have the attachment ID available to me via a form submitted before the ...
1
vote
1answer
71 views
Custom Loop, Match Category with Page: How to display post featured image?
I found this answer. It saved my day, but could you tell me how to display featured image of the post with the following code?
When I'm using
<?php echo $cpost->post_thumbnail('thumbnail', ...
0
votes
0answers
20 views
Better image control mod?
Are there any mods that give you better image control over say multiples images?
For example, by default WP only seems to allow you to center one image, if you try and center two or three images it ...
0
votes
2answers
83 views
Thumbs and pictures not showing anymore
After moving my site to a new VPS cloud server, things worked fine for a couple of days, but this morning all of the thumbs and pictures stopped showing, even though they're still in the same ...
0
votes
1answer
44 views
Custom image sizes are not used
I recently launched a new theme and regenerated all the thumbnails with AJAX Rebuild. All of these custom image sizes are defined in my functions.php as well as the individual template files in which ...
0
votes
0answers
43 views
WordPress media uploader does not give me image size options
I want to upload images with the add media button inside my page editor.
Now when I upload an image, WordPress gives me one option for the image size:
"full size (120px x 60px)" when infact the image ...
0
votes
0answers
28 views
WordPress Gallery Has “Ghost” Image
I have 3 galleries on a single page. All three are wrapped by jQuery Cycle to create 3 simple rotators that each have a thumbnail pager. Each gallery is using the [gallery] shortcode with a few ...
-1
votes
1answer
46 views
Scale Images Using PHP [closed]
I am using this code to get the image:
echo_first_image ($postID);
I am looking to scale the image to 620px (not resize). Image width could be less or more than 620px and the height is variable.
...
0
votes
0answers
36 views
Do someone know how to fetch post images sizes via MYSQL Query?
i am developing a web-services using PHP with adodb classes. what i trying to do is that i need the image sizes of the post i.e(thumbnail, medium, large) size. I am able to fetch the post original ...
0
votes
0answers
68 views
Setting custom image sizes in child theme
I'm trying to create a child theme that has different image sizes from the custom image sizes created by the parent theme. The code below works just fine in setting the options and everything and the ...
0
votes
0answers
19 views
Instead of showing the post it just shows the URL
When I tried to share this link http://www.j1studios.com/archives/6032 on Facebook, it would just repeat the URL and not show the title of the post, or the image. It's as if the link is broken.
0
votes
0answers
25 views
Modifying All In One SEO Pack pictures title
The title of the pictures gallery generated by the plugin All in One SEO Pack is like this:
subject title - pictures title - blog title
How can I make it like this?
pictures title - blog title
1
vote
1answer
47 views
Rename attachments during upload
Here's the function I use for WP to rename images during upload on the fly and set the image's filename to match the post slug.
function wpsx_5505_modify_uploaded_file_names($arr) {
// Get the ...
0
votes
0answers
18 views
Turing Off Multiple Photo Creation [duplicate]
If I upload an image to my Wordpress site, it actually creates SEVEN photos in my files. (The original that I uploaded, and 6 others of different sizes.) I can see how this might be useful to many ...
0
votes
0answers
52 views
Bulk change image titles
I have site with more than 1000 posts and they all have one image on it.
All have the same title because they where imported via csv...
However, I have a custom field on each post that stores the ...
0
votes
0answers
50 views
How to change the default image uploader
Recently i'm using the awesome files of jaredatch (https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress) to create custom metaboxes and fields. I'm still learning about this part and ...
-1
votes
1answer
77 views
I want to Add My Product Image to Admin Order Email in Woocommerece
I want to Add my product image (product which is ordered) in a thumbnail form to recognize the product easily by admin, in Admin Order Email.
0
votes
1answer
53 views
How to extract images of post and pages excluding header and logo image in wordpress?
I have tried this code to get all images from media library and i am sucessfully getting the source urls of all the images but now i want to exclude all the unwanted images like logo, header images ...
0
votes
1answer
60 views
php.ini -Theme-specific settings
I'm testing a theme on a group of people. Its a microstock image selling theme. Very unique, so far, works great on most hosts.
However many people complain that that the image-processing script ...
0
votes
1answer
53 views
add_image_size() to crop images into squares?
So I know about setting custom images with add_image_size('name',X,Y,Crop?) which is cool but I need to build something that will crop images, regardless of their size, into squares.
Basically, I ...
0
votes
1answer
31 views
Images on WP Network's subsite appear only if accessed via main site's url
I am having a very strange problem.
I am migrating old single WP blogs into a newly created WP Network.
After creating the new blog on Network and importing the posts,including attachments, images do ...
0
votes
1answer
53 views
How to add thumbnails to posts and pages automatically in a uniformed fixed elegant way?
please i am wondering if there was a plugin or hack that enables me to append a nice looking thumbnail for each post or page i publish on my blog.
Currently, i am able to add the featured images but ...
0
votes
0answers
28 views
Change Image Sizes for Mobile Theme
I've got a small challenge, right now I have an existing blog with images that formatted for desktop. I have a mobile child theme that shows the content for mobile.
Is there a method to filter a ...
1
vote
1answer
46 views
Setting up a gallery with images and a zip download
I am putting together a little gallery/portfolio for a friend's work and I am struggling to work out where a plugin starts and theme begins.
I'm trying to achieve a simple grid of images which link ...
0
votes
1answer
21 views
Adding Relevant Post Images
I want to add relevant posts at the end of each of my posts page with an image in my newly created website http://www.techberita.com
But being a beginner this is a great problem for me as I can't do ...
0
votes
2answers
57 views
How do I mitigate the forward slash problem for URLs of images after a WP migration?
I migrated my WP deployment from the old server to the new server. The site still has the same URL (i.e. http://my.site.com) but I've moved my WP deploy from the site URL to a subdirectory of said URL ...
1
vote
3answers
109 views
Out of memory error reporting
When users upload very large photos and memory is tight, it seems like Wordpress runs out of memory - fails to resize the uploaded photos and does not create the necessary metadata ...
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 ...


