Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 12, 2012, 06:21:10 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
149621
Posts in
21098
Topics by
7537
Members
Latest Member:
lotte2
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
New Version of Gallery
Pages:
1
...
4
5
[
6
]
7
8
9
Go Down
Author
Topic: New Version of Gallery (Read 66856 times)
fjord
Offline
Posts: 23
Re: New Version of Gallery
«
Reply #125 on:
July 29, 2006, 09:33:10 AM »
I also get a missing
mod_gallery_setting
s
error message when trying to install the new 1.8 version of the Gallery. I have WB 2.6.4, PHP 4.4.2 and MySql 3.23.58.
I have traced the problem to the create table command for mod_gallery_setting
s in the file install.php. In the Gallery 1.7 version, the
section_id
parameter is defined
int not null
, but not in the 1.8 version, here it is defined only
int
. Used as key, this seems to not be allowded.
There are several changes in table definitions from version 1.7 to 1.8 that should be checked against the programmers intention.
Personally I prefer the 1.7 version because this is more true against the "WB attitude": keep it simple, but effective. The new 1.8 version have to many settings that should be hidden for a "casual administrator", maybe only accesible for the system administrator.
Fjord
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7660
Re: New Version of Gallery
«
Reply #126 on:
July 29, 2006, 10:00:08 AM »
Hello,
yes we made changes at the install scripts to get them better working with mysql 4 and mysql 5. As we now recognize is that these changes affects that the install scripts in spezified configurations with mysql 3 causes problems. At the moment the only solution is to have different install scripts wich the user have manually to activate depending on the mysql version. Better is i think a solution wich does this automaticly. But i don't konw how to programm this. Maybe another php freak can giv a hint.
Matthias
Logged
Ivanov
Offline
Posts: 22
Re: New Version of Gallery
«
Reply #127 on:
September 03, 2006, 09:59:57 PM »
I tried to use the last version but I can't upload any image
I browse image, fill all fields, click thu btton and nothing. "Successfull" msg, but no pictures showed. With older version I have no problems.
Logged
rsmith
Offline
Posts: 194
Re: New Version of Gallery
«
Reply #128 on:
September 11, 2006, 11:44:05 PM »
Any luck Ivanov?
I've set up a new server and had no isses installing and adding images to the Gallery..
Step buy step....
On the page with the Gallery section
Click "Add Image"
Give it a "Title" and "Alt/Title"
Browse and selecet the file
Give it a Description if you wish....
and click "save"
This should add the first image to your gallery.... You can add as many as needed.
You can Add a "sub Image" by first clicking on the image you wish to add more pictures to... this will bring you to edit this image, then click the additional Image "Add Image" button
Fill in the fields as before and this creates a sub image so when the first parent image is clicked you get additional images listed below it that you can click thru....
The only "issue" I can see and will correct for the next version is the addtitional image "add image" button should not be visible unless the first image is already been uploaded....
Hope this helps... I can send you more info if needed...
Rob
Logged
cocoa
Offline
Posts: 3
Re: New Version of Gallery
«
Reply #129 on:
September 16, 2006, 02:50:01 PM »
hi, first I'm really sorry if this has been covered already, it was hard to find very much in the last 6 pages.
I just installed the image gallery and I think it's great, I uploaded the closest images I have to hand and found a slight problem:
a png image i uploaded, had it's suffix changed from png to jpg (i have no idea how much of the actual formatting was changed) but the link still points to a png, so the alt attribute is shown...
in my .gallery folder there is image12.png, main12. jpg and thumb12.jpg . strangely, the source for the thumb points to thumb12.jpg , but when the image is clicked to see it fullsize, I get source pointing to main12.png ... any ideas on a simple way to fix this?
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7660
Re: New Version of Gallery
«
Reply #130 on:
September 16, 2006, 02:57:12 PM »
Hello,
the .png support is one of the newest features and was (i think) never tested if it works correct. So you can see all your thumbs and pictures, the only issue is that the module creates thumb jpg from a png. Is that right? And your question is if its possible to create thumb png from png files?
Matthias
Logged
cocoa
Offline
Posts: 3
Re: New Version of Gallery
«
Reply #131 on:
September 16, 2006, 03:18:57 PM »
Quote from: ruebenwurzel on September 16, 2006, 02:57:12 PM
Hello,
the .png support is one of the newest features and was (i think) never tested if it works correct. So you can see all your thumbs and pictures, the only issue is that the module creates thumb jpg from a png. Is that right? And your question is if its possible to create thumb png from png files?
Matthias
no, not really. I don't mind whether it changes the original png to jpg or not. It works fine with the thumb, makes thumb12.jpg and the image is displayed. But if you click the thumb to see the full size image, you get file not found (well actually you see the alt attribute...) because the img element points to main12.png, when it should point to main12.jpg
Logged
rsmith
Offline
Posts: 194
Re: New Version of Gallery
«
Reply #132 on:
September 16, 2006, 06:24:53 PM »
Hi.
Attached is Gallery v1.9a with he png linking issues above corrected.
the Gallery module uses jpg for the thumbnail and resized image, and uses the original image as the full sized view...
Rob
edit
new version here:
http://forum.websitebaker.org/index.php/topic,4139.msg26007.html#msg26007
«
Last Edit: September 21, 2006, 05:10:14 AM by rsmith
»
Logged
cocoa
Offline
Posts: 3
Re: New Version of Gallery
«
Reply #133 on:
September 16, 2006, 11:16:54 PM »
thanks a lot for the extremely quick reply
Logged
baZzz
Offline
Posts: 58
Re: New Version of Gallery
«
Reply #134 on:
September 17, 2006, 03:56:43 PM »
Hi all,
I just downloaded Image Gallery 1.9a from the modules repository and tried to install it to a clean WB 2.6.4 install. Although I got the notification 'Installed successfully', the table `mod_gallery_images` was missing, causing the Gallery to malfunction, obviously. I found out that line 27 from install.php reads:
Code:
. '`image_id` INT NOT NULL DEFAULT 0 AUTO_INCREMENT,'
I removed the 'DEFAULT 0', so it changes to:
Code:
. '`image_id` INT NOT NULL AUTO_INCREMENT,'
and the install performed fine again.
P.S. I have attached the fixed version to this message.
Logged
-= assumption is the mother of all f*ck ups / to assume makes an ass out of u and me =-
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7660
Re: New Version of Gallery
«
Reply #135 on:
September 17, 2006, 06:00:33 PM »
ooooops
my failure. Rewrite the installscripts of 8 modules for better working with mysql5 strict mode. There you need for int fields a default value. Seems i added a default value to the auto incerement fields too. Fixed this in all modules and uploaded the fixed versions to the addons repository.
Thanks
Matthias
Logged
virtual3
Offline
Posts: 20
How to remove image underlining
«
Reply #136 on:
October 19, 2006, 06:16:27 PM »
How can I remove underlining of images?
The Image Gallery module generates code that encloses both the image thumbnails and title link in an <a> tag. The result is, that the image, in most browsers, is
underlined
. This is fine for the text link, but a line under each thumbnail looks odd.
Of course, I am able to remove all styling for both text links and images, but not just images.
Take a look here for an example...
http://www.zuzabooks.com/pages/titles/story-satchels.php
I have tried using my css to remove it, but to no avail. Here are examples of code I have, unsuccessfully tried so far...
a > img.thumbnail {text-decoration: none;}
img .thumbnail a:link {text-decoration: none;}
a img {text-decoration: none;}
a img {border:0;}
img:link, img:vsited {text-decoration: none;}
Please can anyone help!
My current system:
Image Gallery 1.9c
WB 2.6.4
Logged
kweitzel
Forum administrator
Offline
Posts: 6819
Re: New Version of Gallery
«
Reply #137 on:
October 20, 2006, 07:12:07 AM »
you just need to style the class thumpnail: "thumbnail" ... since it uses no direct formating or inline style sheets, you should be able to define the class in your CSS file.
cheers
Klaus
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7660
Re: New Version of Gallery
«
Reply #138 on:
October 20, 2006, 10:31:24 AM »
Hello,
and don't do this in the screen.css of the template, do it in the settings of the gallery modul.
Matthias
Logged
virtual3
Offline
Posts: 20
Remove underlining
«
Reply #139 on:
October 20, 2006, 01:01:57 PM »
Thanks for the suggestions.
However, I have tried to style the .thumbnail class image (see my post above), but as both the image and link is wrapped in
Code:
<a href>....</a>
then the css doesn't seem to work, even using desendant and child selectors.
The code generated by Image Gallery stricktly should have an individual
Code:
<a href="..."></a>
for the image and one for the text. If this is done then the css styling works.
To remove any ambiguity I have isolated the problem, by removing all the css and just retaining the minimum html. The following html is taken from the code generated from Image Gallery without touching the default settings. For clarity I have removed the table structure etc.
For the life of me I haven't been able to 'switch off' the underlining for the graphic only. Surely there must be a way?
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Styling Challenge</title>
<style type="text/css"> */ <!-- Suggestions here --> /*</style>
</head>
<body>
<!--
** html generated by Image Gallery 1.9c **
** Taken from page http://www.zuzabooks.com/pages/titles/story-satchels.php **
** Can you suggest what css syntax will remove the default underline, as applied to the image, while retaining the text underlining? **
-->
<p>
<a href="http://www.zuzabooks.com/pages/gallery/ellio-inside27.php" title="Alt title ellio inside">
<img src="http://www.zuzabooks.com/media/.gallery/thumb27.jpg" alt="Alt title ellio inside" "" border="0" class="thumbnail" />
<br />
Retain the Title underline. Remove the image underline
</a>
</p>
</body>
</html>
Logged
kweitzel
Forum administrator
Offline
Posts: 6819
Re: New Version of Gallery
«
Reply #140 on:
October 20, 2006, 07:11:09 PM »
you are right ... you need to switch off the underlining of the complete link for it to work ... the image (thumpnail) is part of the link.
cheers
Klaus
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
virtual3
Offline
Posts: 20
Re: New Version of Gallery
«
Reply #141 on:
October 20, 2006, 07:15:45 PM »
Yeeeow! Nasty stuff.
There needs to be a modification to the module php template to wrap individually the image and the title link.
Who can do that? I am a novice at php and will probably get it wrong. Save me Jesus.
Logged
kweitzel
Forum administrator
Offline
Posts: 6819
Re: New Version of Gallery
«
Reply #142 on:
October 20, 2006, 07:33:05 PM »
Quote
Yeeeow! Nasty stuff.
nope ... do it with CSS ... that's what it is there for.
cheers
Klaus
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
virtual3
Offline
Posts: 20
Re: New Version of Gallery
«
Reply #143 on:
October 20, 2006, 08:05:55 PM »
Dear Klaus,
Due to the idiosyncrasies of the generated html, css styling is stymied. I, and several of my developer friends, have tried to target the .thumbnail class, but to no avail.
My original post
http://forum.websitebaker.org/index.php/topic,1201.msg27578.html#msg27578
was a call for help specifically asking HOW to style this code.
So the question remains, what exactly do you have to write in the css to 'switch off' the image underlining and keep the text underling.
I am sure there is a genius out there somewhere that can crack this one.
Is there hope for us mere mortals?
Logged
kweitzel
Forum administrator
Offline
Posts: 6819
Re: New Version of Gallery
«
Reply #144 on:
October 20, 2006, 08:09:52 PM »
the solution will be not to style the thumbnail class, but the link itself with it's pseudo class.
A bit like this here:
Code:
a { text-decoration: none; }
now if you take this code, it will style all of your links ... so you might want to play around a bit with position and/or direct formatting in the settings of the page, like Matthias suggested.
Using direct formatting it would look like:
Code:
<a style=" text-decoration: none;" href="http://www.zuzabooks.com/pages/gallery/ellio-inside27.php" title="Alt title ellio inside">
cheers
Klaus
«
Last Edit: October 20, 2006, 08:13:08 PM by kweitzel
»
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
virtual3
Offline
Posts: 20
Re: New Version of Gallery
«
Reply #145 on:
October 20, 2006, 08:12:24 PM »
Great Stuff. However, I already have used this and it switches off ALL underlining.
How do I keep the underling on the text?
Any ideas?
Logged
kweitzel
Forum administrator
Offline
Posts: 6819
Re: New Version of Gallery
«
Reply #146 on:
October 20, 2006, 08:13:42 PM »
edited above!!!
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
virtual3
Offline
Posts: 20
Re: New Version of Gallery
«
Reply #147 on:
October 20, 2006, 08:25:36 PM »
Nice try, but I have just put it in using the 'settings' on that page for Image Gallery and it doesn't work.
According to the cascade rule the locally styled text should override all other styles. However, it doesn't work as the <a href> is wrapping both the text and the image in one statement. Good html practice recommends each statement be wrapped individually.
My god this is the most difficult css problem I have ever faced.
Logged
rsmith
Offline
Posts: 194
Re: New Version of Gallery
«
Reply #148 on:
October 20, 2006, 09:18:32 PM »
Hi
edit the settings of the gallery.....
within the "loop" adjust the format as you wish.... so you should be able to adjust both items.... 1, the underline of the image... 2, the wish to have 2 links, one for the image.. one for the text
ie:
Code:
<td>
<center>
<a href="[LINK]" title="[ALTTITLE]" style="text-decoration:none;">
[THUMB]
</a>
<br>
<a href="[LINK]" title="[ALTTITLE]">
[TITLE]
</a>
</center>
</td>
hope this helps......
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7660
Re: New Version of Gallery
«
Reply #149 on:
March 12, 2007, 07:32:51 PM »
Hello,
based on a thread from the german subforum, where are described some html output issues, we made version 1.9d of the image gallery. There are no new features only a few bugfixes.
You can download the ne version on our addons page:
http://addons.websitebaker.org/modules/download_gallery/dlc.php?file=30
How to update from previous versions?
For all versions major then 1.8 simply install the new version over the existing version.
Have fun
Matthias
Logged
Pages:
1
...
4
5
[
6
]
7
8
9
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...