Author Topic: Direct link to images  (Read 49878 times)

0 Members and 1 Guest are viewing this topic.

Offline Jenn

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: Direct link to images
« Reply #30 on: February 13, 2007, 02:25:22 PM »
Yep

Code: [Select]
function get_media_code($media_file_name, $image_id = 0, $cat_id = 0, $image_name = "", $mode = "", $show_link = 0, $detailed_view = 0) {
  global $site_template, $site_sess, $lang, $mode; $script_url;

Offline Jenn

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: Direct link to images
« Reply #31 on: February 13, 2007, 02:29:12 PM »
Thats why I was thinking or asking if this works with the new version of 4images or not.

Offline michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: Direct link to images
« Reply #32 on: February 13, 2007, 03:07:40 PM »
I dont know, my version is 1.7.3

Offline Jenn

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: Direct link to images
« Reply #33 on: February 13, 2007, 04:36:14 PM »
Got it working. It was missing a period .

Went through all the code and compared it to others..

Thanks for your help.

Offline Jenn

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: Direct link to images
« Reply #34 on: February 14, 2007, 06:00:37 PM »
What would the code be that I need to add to the html file for this?

Code: [Select]
<style>
.contactTable { width: 300px !important; height: 150px !important; padding: 0px !important; background-image: url('LINK TO IMAGE'); background-attachment: scroll; background-position: center center; background-repeat: no-repeat; background-color: transparent; }
.contactTable table, table.contactTable td { padding: 0px !important; border: 0px; background-color: transparent; background-image: none; }
.contactTable a img { visibility: hidden; border: 0px !important; }
.contactTable a { display: block; height: 28px; width: 115px; }
.contactTable .text { font-size: 1px !important; }
.contactTable .text, .contactTable a, .contactTable img { filter: none !important; }
</style><br><a href=LINK TO SITE='Myspace Layouts'>Myspace Contact Tables</a>

Offline Jenn

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: Direct link to images
« Reply #35 on: March 05, 2007, 10:01:56 PM »
I couldnt remember if I asked this or not, looked through my posts and didnt see it. Thought I did but...

Is it possible say I have 10 categories..

On 3 of the categories, it uses a different direct image code then the others.

Can I specify somehow which categories I want to use a certain direct image code then the others?

Does that make sense?

I have seen other sites (not 4images) have this capability and really need to integrate it into mine.

I could always have ALL the codes on each image in every category but it would make the details page junky looking and over run with code.

Offline callmefreak

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: Direct link to images
« Reply #36 on: March 24, 2007, 02:00:16 AM »
is there anyway to do this for thumbnails?? im really in a rut

Offline JCoster

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Direct link to images
« Reply #37 on: April 29, 2007, 02:04:58 PM »
Right.

I'm using this mod and instaed of putting the {image_path} on my details page, I'm putting it on the individual file media extensions page, firstly so that it won't appear for movies (as code is incorrect) and secondly so that it will appear under the image immediately after the user uploads it.

However, one problem: on the page immediately after upload, it shows the path of the random image rather than the path of the image uploaded.

Any advice?

Cheers.

Offline JCoster

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Direct link to images
« Reply #38 on: May 09, 2007, 09:21:31 PM »
Still no one?? :(

Offline viper357

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Direct link to images
« Reply #39 on: October 15, 2009, 12:25:42 AM »
Has anybody got this working in 1.7.7?

I've just upgraded and redone the edits but it's not working now.

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Direct link to images
« Reply #40 on: October 15, 2009, 01:02:52 AM »
... you can also use [MOD] Display image codes on details page (image permalink) ...
... http://www.4homepages.de/forum/index.php?topic=17912.0 ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline viper357

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Direct link to images
« Reply #41 on: October 15, 2009, 08:59:52 AM »
... you can also use [MOD] Display image codes on details page (image permalink) ...
... http://www.4homepages.de/forum/index.php?topic=17912.0 ...
Thank you  :D