dreamer81
Forum Replies Created
-
Forum: Themes and Templates
In reply to: When clicking an image, show the direct path to the imagewhat I am trying to achieve works if I install these two plugins in the order they are listed
jquery-lightbox-for-native-galleries
shutter-reloadedin the jquery plugin there is this code
// Make the thumbnails link to the fullsize image rather than a Page with the medium sized image function attachment_link( $link, $id ) { $post = get_post( $id ); if ( 'image/' == substr( $post->post_mime_type, 0, 6 ) ) return wp_get_attachment_url( $id ); else return $link; }i believe that is what makes it work.
However I only want shutter-reloaded.Anyone know what to do?
Forum: Themes and Templates
In reply to: When clicking an image, show the direct path to the image<a href="<?php echo wp_get_attachment_url($post->ID); ?>"> <?php echo wp_get_attachment_image( $post->ID, 'medium' ); ?></a>Actually the above code is in the image.php file, and it allready does what I want?
I should be editing some other template I believe? The one that shows the post or the frontpage?Forum: Themes and Templates
In reply to: When clicking an image, show the direct path to the imageI will look into the image.php template
The reason I want to do this, is to that I can use shutter reladed plugin to display the images. The plugin only works if it’s a direct link to the image though. 😀
Forum: Themes and Templates
In reply to: When clicking an image, show the direct path to the imageHow exactly do I do that? The code for inserting the images are
[gallery]When I upload one picture at a time, I have the option to select file url, but when I upload multiple images at the same time, I do not have this option?
Forum: Fixing WordPress
In reply to: Add photo to editorwhy will no one help? I thought this was the “support” forum???
please help
Forum: Fixing WordPress
In reply to: Add photo to editorWhat I meen is to directly upload via the upload fields on the write page.
If that is possible+
Else, what plugin can do this for me?