Topic Closed Previous1Next |
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
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?
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.
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.
The finishing touches of our latest release have been made and gpEasy 4.0 is available ... Read More
Third 4.0 Release CandidateThe third release candidate for gpEasy 4.0 is now available. Next release: 4.0 Final! Download ... Read More
More NewsWhich CMS: Which CMS should you use?
What CMS: Find out what CMS a site is using.
phpEasyMin: Minimize multiple JavaScript and CSS files in one sweep.