Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 05:32:42 AM

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
* Home Help Search Login Register
Pages: 1 [2] 3 4 ... 7   Go Down
Print
Author Topic: New Image Gallery  (Read 44980 times)
Gerrit1

Offline Offline

Posts: 6


« Reply #25 on: May 31, 2006, 04:49:18 PM »

in the new line 161... change $dirnamehttp to $dirname
i think that should be closer to what you want.



Got the same Idea just before your posting  grin

Even worse, now there is the server route within the URL  huh

javascript:picturetransfer('http://derlarpfotograf.de/source//srv/www/htdocs/web17/html/braunschweig-foto/media/FTP/Veranstaltungen/Karneval2006/IMG_4176.JPG')
Logged
rsmith

Offline Offline

Posts: 194


« Reply #26 on: May 31, 2006, 04:56:37 PM »

ok...
maybe not the best way.. but quickest right now would be to do a search replace...
2 ways to do this.. suing dirnamehttp u can replace your server with nothing.... (as attached in the zip...
2nd way would be to search repalce against dirname and replace WB_PATH with nothing...

try the view.pph... hopefully it will be closer.... if not i can work on this a bit tonight when i get  home...


Rob
Logged
Gerrit1

Offline Offline

Posts: 6


« Reply #27 on: May 31, 2006, 05:42:55 PM »


try the view.pph... hopefully it will be closer.... if not i can work on this a bit tonight when i get  home...

Rob

It seams to work.
http://braunschweig-foto.de/

Thanx.

Now that the basics look like they are running, I can focus on the fine-tuning  grin
Logged
cmiper

Offline Offline

Posts: 34



« Reply #28 on: June 22, 2006, 05:10:39 PM »

Greetings..

Thanks for this module, it is exactly what I was looking for and had some hard times with PickleGallery in the past.

My only question/issue is that you mention using imagename or title.  I don't see an option for using title and also, I don't see a place to add/issue a title. 

Addmitedly, I have not dug through the files as of yet, I was just wondering if I had missed something.

Thanks
Logged
kibmcz

Offline Offline

Posts: 216



WWW
« Reply #29 on: July 01, 2006, 09:50:25 AM »

When i try to add a page with this module it gives this error
Code:
Unknown column 'maxwidth' in 'field list'
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #30 on: July 01, 2006, 10:07:45 AM »

@kibmcz

so i think you have updated the modul without running the update script?

Matthias
Logged
cmiper

Offline Offline

Posts: 34



« Reply #31 on: July 05, 2006, 08:04:20 PM »

Greets..

2 items with this module, one old, one new.

First is that I am trying to figure out the "title" vs "filename" settings, as it is not clear to me what need be done to use titles.

Secondly, is there a way to work around the empty space on pages that are not full? For example, if you have, say, 9 photos per page, and the last page only has 8, 7, or any number that does not complete a whole column, you wind up with a mal-formed footer.

Here is a full page. (footer is good)

Here is a not-so full page. (footer is not good)

as you can see, the footer moves into the empty space after the last photo.  There was a similar issue in the older versions of Gallery (not WB related) and the work around planted an empty space in the voids, but that is a bit beyond me.

Thanks for any help you can offer.

Logged
rsmith

Offline Offline

Posts: 194


« Reply #32 on: July 05, 2006, 08:53:13 PM »


Titles / Alt Text -  is text to be displayed if the mouse pauses over the image, the text will popup to be read, can also be read by various software packages used by the sight impaired so they get a "verbal" description of the image, Also used if the image is not displayed (can be turned off in most browsers) the user would see the text instead of the image.


second... this is dependant on the template being used... mine looks fine but its also contained in a table..
there are a number of ways to fix this....
1, add a WYSIWYG section with the needed code <hr> ?

2, edit the view.php, line 323 or so (last line of code), add the needed code in this line and it will finish off the layout

echo("</p>\n");   

I'll see about finding a better way and hopefully post it later Smiley

Rob
Logged
kibmcz

Offline Offline

Posts: 216



WWW
« Reply #33 on: July 05, 2006, 09:55:35 PM »

Could it be made so it takes the file name and removes the extension before it displays it
Logged
cmiper

Offline Offline

Posts: 34



« Reply #34 on: July 06, 2006, 03:53:35 AM »

Rob,

Thanks for the info.

I am still having an issue with the formatting, I have tried what you mentioned with no luck.

the output pages look as though they should work, but the <hr / > just throws the format off even more, placing the horizontal off the right side of the page (this happens with both a WYSIWYG and modifying the view.php).

Everything looks as though it shoul dwork, but it is still off.

Thanks again..
Logged
rsmith

Offline Offline

Posts: 194


« Reply #35 on: July 06, 2006, 04:16:57 AM »


You may try a <br clear=all>

this should move the footer in you page to below the left side menu..


Rob
Logged
cmiper

Offline Offline

Posts: 34



« Reply #36 on: July 06, 2006, 04:34:18 AM »


You may try a <br clear=all>

this should move the footer in you page to below the left side menu..


Rob

Yes..this does what I need it to do.

Forgot about the clear  rolleyes

Thank you for the help, it is appreciated.
Logged
ami

Offline Offline

Posts: 27


« Reply #37 on: August 16, 2006, 10:02:42 AM »

Hi Matthias, hi all,

first: may be it would an idea to rename this module in info.php - it has the same name like the original 'imagegallery'.  So there are tho different imagegalleries in my module list.

My actual problem:
I have problems with the rights on my server:
If I create a directory with ftp then uploading some images and create the gallery: wb is not allowed to create the thumbs directory nor the thumbs.

Another way:
If I create a new directory in wb- media, I am not allowed to place files there with ftp...

So, the module does not work - did you have the same problems and solved them?

Greetings, Axel

Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6819


WWW
« Reply #38 on: August 16, 2006, 10:27:38 AM »

the rights have nothing to do with the module. They are a server issue!
The isuue has alreaqdy been discusses a hundet times. If the WWW user is not equal the FTP user you run into that issue.

If they are both the same or in the same group, no problem, but here they are obviusly not.

User your FTP Client to create the directory and set it with chmod to worldwritable (ATTENTION: Security!). Then it will work!

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #39 on: August 16, 2006, 11:10:26 AM »

Hello,

1. info.php
In the next version i will rename to another name. I think about "folder image gallery" becaus it shows a gallery of images from specified folders.

2. Permissions
As klaus said, you run into the problem with different owners and permissions. So for this image gallery the best way is to create the the subfolders of the media dir with ftp (not from within media section of wb admin) and give this folders chmod 777. This way you can upload all pictures via ftp and the modul has the permission to create a thumbs dir with the thumbs file in it.

Hope this helps

Matthias
Logged
ami

Offline Offline

Posts: 27


« Reply #40 on: August 16, 2006, 12:39:00 PM »

Hi Klaus, hi Matthias,

thank you for your tipps, I will do so.
I read about the rights problems several times, but thought there was another thing belonging to this module I did not see.  undecided

So long,
Axel
Logged
sonar

Offline Offline

Posts: 6


« Reply #41 on: August 21, 2006, 12:21:23 PM »

I've got the following problem with this module.

If you add a second image gallery to a page you can't change any setting because you only get one settings panel in the admin section.

Is it possible at all? If not, can it be changed to make it possible?
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #42 on: August 21, 2006, 07:14:23 PM »

Hello,

at the moment there is only on image gallery section per page possible. Maybe in a future version more.

Matthias
Logged
baZzz

Offline Offline

Posts: 58



« Reply #43 on: August 22, 2006, 01:47:27 AM »

Hi Matthias,

Thx for the quick answer to sonar's question. (He's a friend of mine.) Can you explain why there's only one gallery possible at the time and where we should look to get this fixed?

TIA, baZzz
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 Offline

Posts: 7660



WWW
« Reply #44 on: August 22, 2006, 05:23:49 AM »

Hello,

WB and the modules schould stay as easy as possible. To make to much abilities to the modul code blows it up and forces errors. The idea for this gallery was to have a script wich gives you with easilily a gallery of pictures for a specified folder. Nothing more. Small code, less options.

The good news rsmith wich done the most work on this code read this post and as he is the fastest developper I've ever seen he tried to make your wishes possible. This is what he wrote me in a PM.

Quote
Hi

Noticed the post in the forum about having multiple image gallery sections in one page...

Below is a link to my test pages.. version 1.0a has a couple tweaks, modify.php and view.php were changed a bit so it would work without errors

Image Gallery v1.0a
http://slink2.no-ip.info:82/wsb/pages/wb-ideas/test-pages/galleries.php

You may want to take a look... Not sure of an easy way to make it work "correctly" when you select a folder or image to view it removes the other section (since it does not exist in that gallery) and you get an extra set of arrows (one set for each section...)

you can see this on my test page
http://slink2.no-ip.info:82/wsb/pages/wb-ideas/test-pages/galleries/imagegallery-1.0.php


If you have any ideas about how to correct this "easily" I may be able to make it work

Rob

Matthias
Logged
baZzz

Offline Offline

Posts: 58



« Reply #45 on: August 23, 2006, 01:13:32 AM »

We tested the new modul and there are still some issues, but nevertheless it looks promising! grin
As Rob already said in a PM, these are the issues:
Quote
"Issues"
the biggest issue... if you look at my sample gallery and click on one of the images at the bottom it will give you arrows above the image (these arrows go with the first gallery section), I need to see i fi can find a way to remove these (should be easy enough)

second issue... if you are looking at 2 different folders, and click the 10-20 link.... it moves both folders to those images... can be a bit confusing.... and im not sure of an easy way to work around it at this point.

there is no changes to the database from version 1.0 to 1.0a... so you can go back a version if it causes problems.... hopefully this week I can fix at least the first issue.. and will post it to the forum.

Rob

Here's a temporary test page for all to see and test: http://wob.gummbah.nl/pages/vers.php

Another bug: (probably related with the first bug Rob already mentioned)
Clicking on an image that is available in both sets (e.g. picture number 1) will result in the display of both pics.

For the production version of this particular site we use Lightbox for displaying the pictures. This might circumvent one of the bugs... However, I haven't tested this yet, because I'm gonna wait for a new version from Rob (rsmith). (He really IS the fastest developer around! cheesy Thx again Rob!)
Logged

-= assumption is the mother of all f*ck ups / to assume makes an ass out of u and me =-
rsmith

Offline Offline

Posts: 194


« Reply #46 on: August 23, 2006, 04:24:37 AM »

Hi

I have almost got the New Image Gallery capable of being used in multiple sections of a page...  ( I think Smiley )

a couple sample pages... :
2 sections with images
http://slink2.no-ip.info:82/wsb/pages/wb-ideas/test-pages/galleries/imagegallery.php

3 sections, 2 with sub folders
http://slink2.no-ip.info:82/wsb/pages/wb-ideas/test-pages/galleries/imagegallery-2.php

the issue I still need to resolve is with the folders.. right now when you select a folder it will reset the other section to the default.

There doesnt appear to be any errors and all my testing seems to be fine, hopefully before the weekend I can get more time to resolve the last folder issue.

Attached is the latest "Test" version, only changes from the release are in the view and modify files, so you can easily go back a version. If you find isses please let me know, and I can hopefully correct them too Smiley

Rob

EDIT: Can be downloaded from the repository "Another Image Gallery"
« Last Edit: September 17, 2006, 01:11:23 PM by rsmith » Logged
baZzz

Offline Offline

Posts: 58



« Reply #47 on: August 23, 2006, 03:42:31 PM »

Wow Rob, good work! On our test page it works perfectly already! A.t.m. we only use the root of our /media folder for displaying pictures, so that's probably why we don't run into any errors (yet). Keep it up!
« Last Edit: August 23, 2006, 03:53:46 PM by baZzz » Logged

-= assumption is the mother of all f*ck ups / to assume makes an ass out of u and me =-
baZzz

Offline Offline

Posts: 58



« Reply #48 on: September 03, 2006, 10:57:14 PM »

Hey Rob, just wondering, so take your time... But how is the final version coming along? Running into any problems we might be able to help with?
Logged

-= assumption is the mother of all f*ck ups / to assume makes an ass out of u and me =-
rsmith

Offline Offline

Posts: 194


« Reply #49 on: September 03, 2006, 11:01:20 PM »

Hi BaZzz
it's been a crazy week at work.. havn't had alot of time to work on it, to be honest...

working at the moment on another module but hopefully tommorow I can get some time to work on the gallery too... for the most part it works, I know a couple bugs that don't affect its functionality but id like to get fix.... so hopefully soon i'll have a release that will allow for complete multiple section capabilites


Rob
Logged
Pages: 1 [2] 3 4 ... 7   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!