Topic Closed
hansi
7 Posts

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.
1.6K Posts
130K Downloads
16 Themes
15 Plugins

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
7 Posts

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.
1.6K Posts
130K Downloads
16 Themes
15 Plugins

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.
1.6K Posts
130K Downloads
16 Themes
15 Plugins

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

Topic Closed

 

 

gpEasy News

4.4 Release Candidate 2
5/1/2015

The second release candidate of gpEasy 4.4 is now out after we fixed a few issues with ... Read More

4.4 Release Candidate
4/30/2015

gpEasy 4.4 has moved out of beta and into release candidate status. Download the new version ... 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