Topic: Links to be shown

i want the links to be shown when people see the image, so where is the code in index.php to be edited to do so ?

Thumbs up

Re: Links to be shown

What link? To where?
Please be a bit more specific.

Thumbs up

Re: Links to be shown

when a user uploads an image, he gets a page with the image links below like this

http://img.imagescraps.com/thumbs/1ara.jpg

but when a user click the link of the image and sees it , only the image is show, the links for the image is not shown

http://img.imagescraps.com/thumbs/2ksk.jpg

now i need the links to be visible to the user who sees it so that he can share the url

Last edited by ImageScraps (2010-04-02 15:53:48)

Thumbs up

Re: Links to be shown

I hope you understood  smile

Last edited by ImageScraps (2010-04-02 15:54:04)

Thumbs up

Re: Links to be shown

Ahh, there is a button called share on the top. click it and watch big_smile

Thumbs up

Re: Links to be shown

Ya its cool but i want it to be present at the bottom of the picture by default what code  to be removed ?

Thumbs up

Re: Links to be shown

Ok hmm i can't go look at the php source code right now cuz it's kina late but i'll post it up tomorrow.


(I have already looked up the div id you need to switch: #share from display:none to display:block
If this doesn't make scene, i'll explain tomorrow big_smile. now time for bed.
)

Thumbs up

Re: Links to be shown

mate i didnt understand explain it when you are free thnx  big_smile

Thumbs up

Re: Links to be shown

Ok. hhmm looked at the code now. the lines are 227 and 230.
This is what you have to do;

Find this:

<div id="tools"><div id="fullsize"<? if ($ancho<=900) { echo ' style="display: none; "'; }?>><a href="<?=PATH_SCRIPT.DIR_IM.$folhost.$name?>" title="<?=$ancho?>x<?=$alto?>"><?=FULL_SIZE;?></a></div><div id="sharethis"><a id="sharing"><?=SHARE;?></a><a id="sharing-close" style="display: none;"><?=SHARE;?></a></div></div>

And replace it with this

<div id="tools"><div id="fullsize"<? if ($ancho<=900) { echo ' style="display: none; "'; }?>><a href="<?=PATH_SCRIPT.DIR_IM.$folhost.$name?>" title="<?=$ancho?>x<?=$alto?>"><?=FULL_SIZE;?></a></div><div id="sharethis"><a id="sharing" style="display: none;"><?=SHARE;?></a><a id="sharing-close"><?=SHARE;?></a></div></div>

Now find this

 <div id="share" <? if (isset($v) && $v!=='rec.php') { ?>style="display: none;"<? } ?>>

replace with

    <div id="share">

That should be all. if it's not clear just ask.

Thumbs up

Re: Links to be shown

thnx mate works nice smile

Thumbs up