A proper gallery in wordpress?

WordPress can do a lot with images provided it’s configured right, and exactly how you want it. http://ottopress.com/2011/photo-gallery-primer/ will give you the basics to then customise to your requirements. A great example of this kind of thing can be seen on Matt Mullenweg’s site: http://ma.tt/gallery/

Workflow for users to download files?

Try adding this to your theme’s functions.php file function Get_curPageURL() { $pageURL = ‘http’; if ($_SERVER[“HTTPS”] == “on”) {$pageURL .= “s”;} $pageURL .= “://”; if ($_SERVER[“SERVER_PORT”] != “80”) { $pageURL .= $_SERVER[“SERVER_NAME”].”:”.$_SERVER[“SERVER_PORT”].$_SERVER[“REQUEST_URI”]; } else { $pageURL .= $_SERVER[“SERVER_NAME”].$_SERVER[“REQUEST_URI”]; } return $pageURL; } add_filter(‘gettext’,’custom_login_to_download_msg’); function custom_login_to_download_msg( $input ) { if( !is_admin() && ‘You must be logged … Read more

changing the default picture size link url

You can use: <?php $image_attributes = wp_get_attachment_image_src( $attachment_id, array(1024,1024) ); ?> <a href=”https://wordpress.stackexchange.com/questions/37124/<?php echo $image_attributes[0]; ?>”>xxx</a> See http://codex.wordpress.org/Function_Reference/wp_get_attachment_image_src If the picture is too small the original will show, otherwise cropped version (1024×1024). Update: Didn’t understand your question correct. Here is what you need: First of all add a thumbnail size for your custom max size … Read more

Get the a specific image from the post gallery linked to post_id

You can get all the images associated with a post with the following: $args = array( ‘post_type’ => ‘attachment’, ‘post_mime_type’ => ‘image’, ‘post_parent’ => $post_parent_id // you’ll need to set this somewhere else ); $images = get_children( $args ) To go from that to the 2nd image, you should just need to point to $images[1], … Read more

Advanced video gallery plugin needed [closed]

rarely are plugins precise o our needs. Though something to look into is a PHP class or library for this. Just because you are using WordPress doesn’t mean you can’t use other methods and include them on a custom template page or template part.

How do I display the featured image from an image gallery using a reference in code? (example within)

UPDATED First, let’s create a new image size. We could update one of the existing sites, but we’ll just add a new one for experience sake. Open up your functions.php file and add the following: if ( function_exists( ‘add_image_size’ ) ) { add_image_size( ‘new-size’, 500, 500, true ); // Cropped add_image_size( ‘another-size’, 400, 600 ); … Read more

photo gallery implementation like tmz

For sliders and photo stuff you best bet is to code it yourself, especially in your situation where your grabbing photos from one area (CPT) and displaying them in another. It’s fairly simple to find a good js image slider/gallery and then just drop WP Query into it. You can of course browse here and … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)