4images Modifications / Modifikationen > Mods & Plugins (Releases & Support)

[Mod] Display image codes on details page (image permalink)

<< < (2/21) > >>

KurtW:

--- Quote ---Here is a non working sample added to one of the variables:
$uploaded_thumb_hotlink = "<a href=\"".$uploaded_image_link."\"><img src=\"".$uploaded_thumb_path."\" border=\"0\" alt=\"".$new_name."\"></a>";</a><br><a href="http://skidpics.com" class="style1">Browse or host your pictures on skidpics.com </a></p>
--- End quote ---

And here is a working sample:


--- Code: ---$uploaded_thumb_hotlink = "<a href=\"".$uploaded_image_link."\"><img src=\"".$uploaded_thumb_path."\" border=\"0\" alt=\"".$new_name."\"></a><br /><a href=\"http://skidpics.com\" class=\"style1\">Browse or host your pictures on skidpics.com </a>";
--- End code ---


Kurt

skidpics:
Thanks Kurt for getting the right coding set up for me! 

J.Lond:
First off let may say this is a great mod and thanks for putting it together.  Now my problem.  It works great when the images are pictures ie jpg, gif, and so on.  The problem occurs when you deal with other formats.  The thumb hot link takes the extension of the image format.  Thumb link for movie sample.flv will be sample.flv instead of sample.jpg. The thumb path is correct but the thumb file name is incorrect.  Wrong extension.  The following is a sample of how the image code shows up for "thumbnail for websites".

<a href="http://www.yoursite.com/details.php?image_id=6470"><img src="http://www.yoursite.com/data/thumbnails/141/sample.flv" border="0" alt="sample.flv"></a>


Thanks

J.Lond:
I am bumping this thread to see if anyone has a solution for my problem asked earlier.

Thanks

skiemor:
Hi @ all,
I want to place only a link "Image-Codes" and show the codes in
a "details_info.html". How to make that.

If I allow to see details for guests, the codes are usable for guest.
That I don't like. How can I get permission only for pic_owner or member?

Chris.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version