Previous1Next
hansi
Posts: 7

Hi there,

i have three problems actually. Mayeb someone can help?

1. I created a gallery - the result looks like ...

<a rel="gallery_gallery" name="gallery" href="/dummy/data/_uploaded/image/1_b.jpg" title="ascsadc">
<img alt="" src="/dummy/data/_uploaded/image/thumbnails/image/1_b.jpg.jpg">
</a>

Now i want to change the "alt= " to "title=". How can i do that?

 

2. The Colorbox opens the picture with a 0.75 transparent background ...

<div id="cboxOverlay" style="display: block; opacity: 0.75; cursor: pointer;"></div>

i would like set it to opacity=1. Editing the class "cboxOverlay" doesnt work.

 

3. THe last ;) The autogrow-function of the editiing area doesnt work. I tried it with normal text and a table. Nothing happend?!

 

Thanks in advance

jan

 

 

3 years ago#3059
Josh S.
Posts: 1.5k
Themes: 16
Plugins: 15
Downloads: 110.9k

Now i want to change the "alt= " to "title=". How can i do that?

Not that it means much, but the alt attribute is a required attribute for most versions of html. More importantly, it might be somewhat involved to change this. At a minimum, you'd need to modify the ShowFile_Gallery() method in /include/admin/admin_uploaded.php.

The other two problems you mentioned sound like javascript problems. I'd like to help, but I might need to know which browser you're using (includig version) and if you're using a custom theme or one downloaded from gpEasy.com?

3 years ago#3063
hansi
Posts: 7

Hi,

thanks for your reply.

I'm using firefox 8.0.1 and Safari 5.1.2 and a custom theme. Everything works fine but autogrow and overlay-problem ... ;)

Editing the file admin_updated makes no difference.

 

Edited: 3 years ago#3067
Josh S.
Posts: 1.5k
Themes: 16
Plugins: 15
Downloads: 110.9k

I'm using firefox 8.0.1 and Safari 5.1.2 and a custom theme. Everything works fine but autogrow and overlay-problem ... ;)

Hmm, I primarily use firefox so it makes me wonder if there's something happening with the theme. Would you mind attaching it to the forum so I can recreate the situation as closely as possible? You can also email it to support at gpeasy.com.

If editing admin_updated.php didn't work, it will probably require some javascript. Let me look into it and get back to you.

3 years ago#3068
Josh S.
Posts: 1.5k
Themes: 16
Plugins: 15
Downloads: 110.9k

Editing the file admin_updated makes no difference.

So the solution involves editing the javascript files used for editing galleries. Since the javascript files are distributed in a minimzed form, I've attached a modified gallery_edit_202.js file that adds the title attribute to the img. To use, replace the /include/js/inline_edit/gallery_edit_202.js file on your server with the attached file.

3 years ago#3078
Previous1Next

gpEasy News

4.3.2
2/18/2014

The final release of gpEasy 4.3.2 is now available. This is primarily a third-party package ... Read More

4.3 Final
11/4/2013

The wait is over. The final release of gpEasy 4.3 brings some exciting new features ... Read More

More News

Les sites de terenez.com

Web hosting et services en ligne, votre site Internet à partir de 25€/an *Aide gp|Easy en français

Find out more about gpEasy's Provider Spotlight

Log In

  Register