Member
Member
centered   2006-09-14, 23:58
#1

Hi,

Not quite sure how to ask this so its clear...after clicking on an image in the album, you get taken to the page with just the image. Then you can click on the image for it to display full size in your browser (I think this is for downloading). Anyway...I'd like to disable the link so on the page that shows the image there is no link when you click on the image (i.e. nothing happens). How do I accomplish this?

Thanks!

Member
Member
jayray999   2006-09-15, 02:01
#2

Open the file image.php in your /themes/default folder. Around line 38-40 you will see:

" title="">

Delete

" title="">

and the

so your line 38-40 should look like:

Save and upload, replacing existing image.php which you should backup as image.php.old or some other name like that as a precaution.

Member
Member
jayray999   2006-09-15, 02:04
#3

SORRY SORRY. I pasted the wrong thing in. This is the correct version:

Open the file image.php in your /themes/default folder. Around line 38-40 you will see:

" title="">

From line 39 delete
" title="">

and the

so your line 38-40 should look like:

Save and upload, replacing existing image.php which you should backup as image.php.old or some other name like that as a precaution.

Member
Member
jayray999   2006-09-15, 02:09
#4

Sorry for the multiple posts. Turns out the forum is blocking hyperlinks so here is the last attempt with backticks.

Open the file image.php in your /themes/default folder. Around line 38-40 you will see:

' " title=""> '

From line 39 delete
' " title="">'

and the

so your line 38-40 should look like:

'

'

Save and upload, replacing existing image.php which you should backup as image.php.old or some other nam

Member
Member
jayray999   2006-09-15, 02:10
#5

Ok. I give up. Just make your lines 38-40 is image.php look like:

Member
Member
centered   2006-09-24, 18:39
#6

Thanks! It worked great!

Member
Member
darrellm   2007-01-29, 05:19
#7

On my default theme it looks like this:

    " title=""> 

which one would I delete? thanks.

Member
Member
DarrellD   2007-01-29, 06:13
#8

@darrellm
Like jayray said in his last post, just make lines 38-40 look like this:
`

`

Member
Member
darrellm   2007-01-29, 06:32
#9

O.k. I see it now. Thanks.

Junior Member
Junior Member
Vittra   2007-02-02, 14:09
#10

Hi.
I kind of want to do the same thing... I also want to get rid of the link, BUT I don't want to show the "DefaultSizedImage" in the album. I want the original image there.

How?

Member
Member
DarrellD   2007-02-02, 18:03
#11

@Vittra
Use the following code:
`

`

Developer
Developer
trisweb   2007-02-02, 22:22
#12

Actually, getSizeFullImage(); returns the [i]Size[/i] of the full image in an array. Confusing naming, I know. Rest assured you're getting what you ask for -- getSize... means get Size ;-)

It should be:
`

[img][/img]" />

`

Member
Member
DarrellD   2007-02-03, 03:27
#13

Yeah, what Trisweb said. Sorry, I just did a quick look and grabbed the first one that looked familiar to me.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.