Hey im trying to figure something out here and cant seem to get it right, when users submit something via tdo mini forms and when they submit a pic within the post i want to use lightbox so when readers cklick on the tumbnail image in the post i want it so that the lightbox then pops up to show the full image… all i got so far is that readers can klick the thumbnail image in the post, then they are directed to another post with just the full pic in it, and then when they cklick it the lightbox pops up, what do i have to do to get it right?
i know its not that hard work but the thingis i want to use mini forms for a recipe blog for users to post recipes, its really good for that, i couldnt really find a sample html code , its like this, a users posts a recipe with a thumbnail, then when u click on the thumbnail the large pic comes up and then when you click the large pic the lighbox comes up, so i need to cut out that one step and go from thumbnail to lightbox, would that be hard to do?
Hi there. This is a great plugin! I want to use it to enable registered users to post photos.
I would also like to use the lightbox plugin function. All it needs is to append the “rel=lightbox” attribute to the uploaded image. I can’t figure out how to use the Append to Post widget to do this.
COuld you help?
Many thanks.
Im using that code in an append widget. However, Im showing uploaded images as a thumbnail in the published post. If I click the thumbnail, it opens a new page with the medium sized image in it. If I click that image it then open the full size in the lightbox. I want to miss out the middle stage and open the full size image from clicking the thumbnail.
My settings in the upl,oad widget are:
Checked: Do not use TDOMF handler for URL of download URL of uploaded file area:
Checked: Insert Uploaded Files as Attachments on post (this will also generate a thumbnail using WordPress core if upload is an image)
Checked: Add thumbnail link to Attachment page to post content (if thumbnail avaliable)
Any advice much appreciated.. Thanks
Ok, after much trial and error I’ve got a working version. This is how I have enabled my site to display a resized thumbnail in the post of the uploaded image, then when that image is clicked, it goes straight to a lightbox full size image overlay. In other words, it loads as an image NOT an attachment.
1- Install wp-slimbox2 or other plugin needing rel = lightbox. In wp-slimbox I checked the option to autoload-This option allows the user to automatically activate Slimbox on all links pointing to “.jpg” or “.png” or “.gif”
2- Added the TDMF uploads widget and configure as follows
checked: Do not use TDOMF handler for URL of download URL of uploaded file area: (dunno if this is important or not)
checked: Insert Uploaded Files as Attachments on post (this will also generate a thumbnail using WordPress core if upload is an image)
checked: Add thumbnail as download link to post content (if thumbnail avaliable)
Sorry if this is obvious to you Gurus, but the options got me in a spin and I had to try everything until it worked.
I have tried and tried to get the lightbox (I am using shadowbox WP plugin) to work with my TDOMF form uloaded images, but no luck. I can get the thumb to appear and when clicked on the full size image will load in a new blank page. I can also get the thumb to appear and when cliked on it will open up in a new post like page and can be clicked on and the lightbox function works then. I am new to this. Only been doing this about 1 week and all this time was spent on trying to get this to work. I would be so gratefull if anyone would be willing to help me. Please just tell me what you need from me. Thank you. Mark
Got it to work, check it out http://www.Collegeenvironments.com It will resize every large picture to fit inside the overlay. Im using a lightbox-esque plugin called Shadowbox JS.
Mark Cunningham said:
What you could do is, using the Append widget, stick this bit of code in it:
<a href="<?php echo get_bloginfo('wpurl'); ?>?tdomf_download=<?php echo $post_id; ?>" rel=lightbox ><img src="<?php
echo get_post_meta($post_id,"_tdomf_download_thumburi_0",true);
?>" /></a>
can you please explain more clearly where exactly (which file and what position) I have to use this piece of code?
it is not clear for me unfortunately how to get lightbox effect work with uploading fotos with TDO forms…
please help!
admin
Guest
June 27th, 2008 at 1:12 pm
How does the lightbox work? Is it a plugin? Some Javascript?
You may need to not include the thumbnail in the post, but instead use the custom field in your theme and display the image that way.
Permalink | Quote