Slidedeck Pro WordPress Image Size

does it have a control panel with sizing options? Is there any mention of 270px at all in the files. If not then either your image is 270px or WordPress is resizing it. If WordPress is doing it check out this page settings>media EDIT: // Correct image aspect ratio to fit within skin’s image constraints … Read more

Absolute path to stylesheet_dir/images/my_img.jpg does not work?

i always start every theme w/ some constants ` define(‘THEME’, get_bloginfo(‘stylesheet_directory’)); //or you could use this one: //define(‘THEME’, get_stylesheet_directory_uri()); define(‘IMAGES’, THEME . ‘/images’); ` and some others, but the point is that at any place in my code i can point to my theme’s image folder img src = “https://wordpress.stackexchange.com/questions/21398/<?php echo IMAGES .”/image.png’;?>”

custom image size not being fetched

It turns out WP got confused because i used the settings> medias screen to also set the “medium” dimensions to 670×290. This redundance seems to disable entirely both the “medium” and the “listing-post-thumbnail” dimensions. Replacing the medium dimension values to 0 and then regenerating the thumbnails solved the issue. Thanks to those who tried to … Read more

Why is my table background image not showing in wordpress?

What does Firebug or Chrome Developer Tools report on the rendered background image URL? Does it return a 404? Try changing this: style=”background-image:url(/wp-content/plugins/xxxxxxwidget/image2.png) to this: style=”background-image:url(<?php echo wp_plugins_dir(); ?>/xxxxxxwidget/image2.png)

Attachments without images

Then you should use custom fields, attachments are for something to attach from your media library. Custom fields on the other hand can be anything you want. http://codex.wordpress.org/Custom_Fields For a plugin I recommend , http://wordpress.org/extend/plugins/custom-field-template/

Gallery – custom html for inserting images

In cleaner-gallery.php make changes to the cleaner_gallery_plugin_gallery_image function that starts on line 122 and ends on line 151. What we are doing is replacing href with data-href in the two instances that output the html with the image attributes. function cleaner_gallery_plugin_gallery_image( $image, $id, $attr, $instance ) { /* If the image should link to nothing, … Read more

Dynamic Image Links Depending on Excerpt/’Single Post’ View

If I understand it correctly, in you index.php you want to link the image to the full post. You can accomplish that by adding this to your index.php: <a href=”https://wordpress.stackexchange.com/questions/24537/<?php the_permalink() ?>” alt=”<?php _e(‘Read full article’, ‘theme’);?>” title=”<?php _e(‘Read full article’, ‘theme’);?>”><?php the_post_thumbnail(‘name-thumb’); ?></a> assuming that you use the featured image to show the image … Read more