Photography Based Design – Multiple Images Per Post
There are many themes that focus on photography. Here are some examples: Gallery Theme Fotofolio … and many others – just search for photo or photography or portfolio themes. Good luck!
There are many themes that focus on photography. Here are some examples: Gallery Theme Fotofolio … and many others – just search for photo or photography or portfolio themes. Good luck!
What about using wp_get_attachment_image_src? Using wp_get_attachment_image_src: $src = wp_get_attachment_image_src( $img_id, ‘thumbnail’ ); $src = $src[0]; // Grabs only the URL ($src[1] = width of image, $src[2] = height of image)
it can be caused by multiple reasons , some of which may be : theme disabling this function => switch to default theme and check function again GD library not installed on server => check your PHP server settings . the image you are inserting is smaller than the thumbnail image size set in Admin/Settings/Media. … Read more
What you’re trying to do is likely to upset shared hosters regardless because generating video is not cheap from a computational resource standpoint, and most rules on a shared host are because there isn’t much in the way of resources to begin with. You would be best carting your images off to a service that … Read more
The better way would be to use Windows Live Writer. It’s a Microsoft product that’s part of the Windows Live Essentials suite. This program allows you to copy-paste content from a Word document, or just build the post out as you would in Word. But the advantage is that it can also talk directly to … Read more
You can get the attached media to a post using get_children. IE: get the first attached image for post ID == 14 $args = array( ‘post_mime_type’ => ‘image’, ‘numberposts’ => 1, ‘post_parent’ => 14, ‘post_type’ => ‘attachment’ ); $first_attached_image = get_children( $args );
If you need the images to be the same width but varying heights (ie not 300 x 300 but 300 x anything) then in settings -> media add 9999 to the height of whichever image size you want to use. You can also define your own custom thumbnail using the same principle: http://codex.wordpress.org/Function_Reference/add_image_size [EDIT] As … Read more
You’re right, it’s because by default, wp_handle_sideload() requires a valid extension in the URI in order to continue processing the sideload. That is, unless your role has a capability called ‘unfiltered_upload‘, which by default is only given to admins. If it seems appropriate (and safe) for you to grant this capability to the user role … Read more
(Cut/pasted from the OP.) SOLUTION: As it turns out, this is very simple. Go to your Dashboard –> Genesis –> Theme Settings Now in the box labelled “Content Archives” select “Display Post Excerpts” from the drop down menu. Now make sure the “Include the Featured Image” box is checked and select your image size. Save … Read more
Okay, I had the same problem and just solved it by adding an “exclude” field to the shortcode. Like so… You have to just pull the ID number of the file you don’t want to show. This works without adding any functions or edits to the theme.