Search…

X3 Photo Gallery Support Forums

Search…
 
Hillie12
Topic Author
Posts: 2
Joined: 11 Sep 2007, 16:16

imageclick = link question

11 Sep 2007, 16:43

Hi,

I have used the slideshow on the front page off my site. I want that if a user click on a picture from my slideshow that he will come to my fotoalbum page.

but i dont know how i made that possible.

My config:

imageclick = link

and i made a txt file ( descr.txt) with this line in it:

PICT4444_resize.JPG http://www.myhomepage.nl/foto

but nothing happen when i click on a picture.

Can somebody help me?

Thanx a lot,

Hilbert
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

13 Sep 2007, 02:49

I think you should create those description with the admin as they use URL-encoding when storing the value in a text file.

Optionally, I would consider a different approach using the "swflayer" setting. If you have Flash, create a square box the size of your slideshow images, make sure you set alpha = 0% for the box. Create a link on the box. Export. Then in your slideshow configuration, set "swflayer = yourfile.swf". The 'invisible' box should load ontop of images, and the button function of the box should be intact.
 
Hillie12
Topic Author
Posts: 2
Joined: 11 Sep 2007, 16:16

13 Sep 2007, 08:59

Hi Karl,

Thanx for your response.

this is what i have done: i made a module for joomla en put the following code in it :

<html>
<head>
<script></script>
</head>

<body>
<div id="flashcontent"></div>
<script>
var so = new SWFObject("http://hspuybroek.info/foto/slideshow.swf", "features", "160", "120", "7", "#FFFFFF");
so.addVariable('configfile','component/component.ini');
so.addVariable('globalpath','http://hspuybroek.info/foto');
so.addVariable('framewidth', '1');
so.addVariable('frameshadow', 'false');
so.write("flashcontent");
</script>
</body>
</html>

en this is my component.ini file:

[SLIDESHOW]

[MAIN]

globalpath = false
path = component/ ;instelling voor juiste directory
directimage = false
startimageclick = next
language = slideshowlang.ini
autostart = true
autoscale = true
scaleup = false
keepaspect = true
boxstage = false
imagesorting = rnd ;instelling voor random foto's
cacheimages = 3
minmargin = false
maxwidth = false
maxheight = false
interval = 5
serverextension = php
sitemenu = false
usejsresize = false
altimage = false

[VISUAL]

startimage = false
startheading = false
displaykeyguide = false
backimage = false
backalign = M
bgcol = 004ab8
textcol = f7f7f7
tooltipforegroundcolor = textcol
tooltipbackgroundcolor = bgcol
framewidth = 5
framecol = textcol
innerframewidth = 5
innerframecol = textcol
frameshadow = false
slideshowlayer = false
slideshowlayeralpha = 30
slideshowlayeralign = OIM
slideshowlayermargin = 10

[TRANSITION]

transition = fade; motionmove,motionmask,blockmask,tint,white,fade,shine,instant
transitionresize = tint,white,shine,instant; tint,white,shine,instant
frametransition = true

[AUDIO]

sfx = false
audio = false
audiopath = mp3/
audiorepeat = 0
audioinit = false
startvolume = 80
audiostyle = linear
loopinterval = 30
audioextension = mp3
audioinfo = id3
audioplayercolor = textcol

[CONTROLS]

sitemenu = false
showmaincontrols = false
maincontrols = select,previous,next
maincontrolsalign = BR
maincontrolsmargin = 10
altcontrols = false
altcontrolscolor = textcol
altcontrolsalign = L,R
altcontrolsmargin = 10
closebuttonalign = IRT
customdata = <b>UITLEG SLIDESHOW</b>
customdatalink = mailto:test@test.nl
rightclick = next,previous,toggleplay
enablerightclickcontrols = true
enablekeycontrols = true
usekeysettingstext = false
imageclick = next
imageshiftclick = next
imagepopinfo = false
showpreloader = false
showaltpreloader = false
showtimer = false
preloadcolor = textcol
timercolor = textcol
controlsbackgroundcolor = textcol
controlsforegroundcolor = bgcol
controlsbackalpha = 50
controlsbackoveralpha = 40
controlsbackpressalpha = 60
controlsdimensionx = 30
controlsdimensiony = 30
controlstooltip = true

[IMAGESELECT]

imageselecttooltip = true
imageselecttooltipdelay = 500
imageselecttooltiptext = true
imageselecttooltipthumbnail = true
timerselectreset = 9000

[TEXT]

displayposition = imagebottom ;above,below,left,right,imagetop,imagebottom
displayimageindex = false
displayname = false
displaydescription = false
hideextension = false
formatmaxwidth = 250
formatminwidth = 150
formatmargin = 3
formatbackgroundcolor = 004ab8 ;kleur van de balk achter de omschrijving
formatbackgroundalpha = 60 ;instelling voor transparantie van deze balk
defaultfont = Arial
defaultsize = 19
defaultcolor = textcol
defaultleading = 2
defaultalign = left
headingfont = DesertDogHmk
headingsize = 28
headingcolor = bgcol
indexfont = Verdana
indexsize = 11
indexcolor = textcol
indexleading = 0
indexalign = left
namefont = Verdana
namesize = 11
namebold = true
namecolor = textcol
nameleading = 0
namealign = left
descriptionfont = Verdana
descriptionsize = 9
descriptioncolor = textcol
descriptionleading = 1
descriptionalign = center
selectfont = Verdana
selectsize = 11
selectbold = true
selectcolor = bgcol

[END]

i can't find the swflayer setting you are talking about. Could you help me with it?

thanx a lot for your help

Greetz Hilbert
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

13 Sep 2007, 12:46

I may have been ahead of myself - That setting is only for the Imagevue gallery https://www.photo.gallery/207 :oops:

Do you want each image to open an individual link? If not, then you could try to put your entire swf code inside <a></a> tags with a link.

Elsewise, I think you will have to create unique links with the admin and use the imageclicklink setting. If you can't get it to work, maybe I can assist you.