Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / singapore photo / picture gallery for zc 1.3

singapore photo / picture gallery for zc 1.3

Locked

Started by hareslade on 19 Jul 2006, 11:47 PM · Views: 13,625

Results 1 to 20 of 31
This thread is locked. New replies are disabled.
19 Jul 2006, 11:47 PM
#1
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Post #1 by hareslade

At long last, here are the links for viewing my V2 Singapore gallery add on for zencart 1.3.xx,

The fileset for 'V2 Singapore add on for zencart 1.3.xx' download will be available in a few days from hareslade.com, I'll notify here.


The new version 2 has a brand new option of customisable picture frames for the main images, and an improved 'gallery user' link on the cart side display.

As in version 1.xx of the add on, Singapore v 9_11 is used, much modified to fit in with zencart.

As with the 'normal' Singapore 9_11, there are ini config files which set up options, one has to put the zencart database details in.

The Singapore users (only required when the 'cart side gallery user log on' option is installed) are separate from zencart customer/users. A Gallery user can have their own or shared galleries, upload/edit pictures. The Singapore 'Group' and 'World' user permissions are fully operational. Master Admin has to create the Gallery users, and start them off with a gallery.

The Singapore Master Admin side is embedded in the zencart admin pages under 'extras', an internal log in to Singapore Admin is required.

The demo's are just testing examples, there are not many pics in them, the 'sample gallery' is the original one singapore used as standard.

Non-framed pics demo

http://hareslade.com/zc_1_3_0_test1/index.php?main_page=singapore_zc130

Framed pics demo (click the 'switch frame on' link, under the main gallery pictures)

http://hareslade.com/zc_1_3_0_2test1/index.php?main_page=singapore_zc130

Note the framed pics display page is too wide for an 800 by 600 screen, but there is an easy code mod to remove the right hand column from the page, just for for singapore displays.

The framed pics have plenty of config adjustments, for various elements of the display, the browser user can select frame and matte colour from the samples, and more can be added by uploading ftp frame folders image sets, and more matte tile colours.

The frame itself, the matte area, the pic and frame widths are all adjustable by ini file. The whole frame assembly is created by divs, and uses css settings, some of which are settable in the ini config files (such as over all width, and maximum picture display size)

22 Jul 2006, 3:58 PM
#2
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,456
Plugin Contributions:
4

Post #2 by IDEASLady

Soooooo, where is it? :lookaroun

IDEASLady
IDEAS Creative Studio

Your image... our business!

29 Jul 2006, 12:53 AM
#4
switt avatar

switt

New Zenner

Join Date:
Jul 2006
Posts:
11
Plugin Contributions:
0

Post #4 by switt

Great add-on! :thumbsup: your community appreciates you!

We've just loaded, config'ed, set permissions, etc.
Here: http://www.mthighmedia.com/ZC/index.php?main_page=singapore_zc130

Still needs some tweaking, haven't got the link from the "More Information:"
sidebox working with my custom template "mpp" So have switched back to Classic for now--i think i can figure that one out -- just have to get the "define–singapore.php" into the correct "mpp" template directory--right?, Paul.

Here are the bugs I can't figure out yet; log-in & most admin functions seem fine.

  1. can't load new image files from my desktop via the cart side singapore admin
    into the test gallery; I think the error message was 'file not found'

  2. however, we can load images from remote URL (on my own server)

  3. new image generates some thumbnail size images, but not everywhere
    still getting the occasional black box, or ? box

  4. we're unclear on why the sub-galleries (w/1 test image each)
    created in Singapore don't show up in the Zencart side of the gallery
    & vice-versa--galleries/images from the Zencart side don't show up
    in the gallery side; Here: http://www.mthighmedia.com/SG/

:down:
shouldn't they show-up on both sides--regardless of being loaded
from zencart/admin/extras/singapore or from singapore/admin??

any feedback? gotta a clue or two, anyone??
sWitt--OVER!

30 Jul 2006, 2:52 PM
#5
dpatt111 avatar

dpatt111

New Zenner

Join Date:
May 2006
Location:
Newport NC
Posts:
34
Plugin Contributions:
0

Post #5 by dpatt111

When I unzip the folder, it is password protected....what is the password?:down:

Danny Patterson

30 Jul 2006, 3:04 PM
#6
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,456
Plugin Contributions:
4

Post #6 by IDEASLady

When I unzip the folder, it is password protected....what is the password?
There should be something wrong with your computer because that's not the case. :blink:

IDEASLady
IDEAS Creative Studio

Your image... our business!

30 Jul 2006, 3:23 PM
#7
dpatt111 avatar

dpatt111

New Zenner

Join Date:
May 2006
Location:
Newport NC
Posts:
34
Plugin Contributions:
0

Post #7 by dpatt111

Have you downloaded the file lately?:wink2:

Danny Patterson

30 Jul 2006, 6:30 PM
#8
switt avatar

switt

New Zenner

Join Date:
Jul 2006
Posts:
11
Plugin Contributions:
0

Post #8 by switt

Still needs some tweaking, haven't got the link from the "More Information:"
sidebox working with my custom template "mpp" So have switched back to Classic for now--i think i can figure that one out -- just have to get the "define–singapore.php" into the correct "mpp" template directory--right?, Paul.

ED:update/ re: Gallery link from "More Information" sidebox in custom template--
needed to place "more_information.php" into the proper over-ride directory.
".../includes/modules/sideboxes/mpp/" or whatever template name

ED:update/ re: dpatt111 ?? downloaded the .zip on about 7.28--no need for pass to unzip w/Mac OSX

ED:update/ re: better luck w/ image upload from desktop w/ new subdirectory
test gallery 2; thumbnails render properly, etc

sWitt--OVER!

30 Jul 2006, 8:52 PM
#9
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Post #9 by tinas

dpatt111:

When I unzip the folder, it is password protected....what is the password?:down:

I just downloaded this file and no password was needed - I have to agree with ideasgirl on this one - this is an error on your end not the file itself.

When the world gets in my face I say Have A Nice Day.

30 Jul 2006, 8:58 PM
#10
dpatt111 avatar

dpatt111

New Zenner

Join Date:
May 2006
Location:
Newport NC
Posts:
34
Plugin Contributions:
0

Post #10 by dpatt111

Hey guys, I downloaded the file again....worked this time.
Thanks:thumbsup:

Danny Patterson

30 Jul 2006, 9:16 PM
#11
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Post #11 by tinas

Glad you got it Danny :)

When the world gets in my face I say Have A Nice Day.

30 Jul 2006, 11:57 PM
#12
dpatt111 avatar

dpatt111

New Zenner

Join Date:
May 2006
Location:
Newport NC
Posts:
34
Plugin Contributions:
0

Post #12 by dpatt111

I would like to say thanks for the help and comments.
I decided not to use singapore, instead I opted to use CB Gallery.
Could someone check out this site and let me know if it is working properly.
Open to comments:D

http://www.pandrphotography.com/index.php?main_page=page&id=2&chapter=0

Thanks:thumbsup:

Danny Patterson

31 Jul 2006, 9:17 AM
#13
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Post #13 by ellivir

dpatt111:

I would like to say thanks for the help and comments.
I decided not to use singapore, instead I opted to use CB Gallery.
Could someone check out this site and let me know if it is working properly.
Open to comments:D

http://www.pandrphotography.com/index.php?main_page=page&id=2&chapter=0

Thanks:thumbsup:

I atleast see only a white background picture with some grey decarations in the middle of the page, no gallery. On the top there ares some photos as one row but they seems to be more like part of the site graphics itself. I also tried to click around but could not get any gallery either.

Elli

I may be blond but at least I found Zen.

31 Jul 2006, 10:34 AM
#14
dpatt111 avatar

dpatt111

New Zenner

Join Date:
May 2006
Location:
Newport NC
Posts:
34
Plugin Contributions:
0

Post #14 by dpatt111

Are you using a high speed connection or Dial up? Do you have flash 7 or high installed on your computer? This inforrmation would be most appreciated:D

Thanks for your help.:thumbsup:

Danny Patterson

31 Jul 2006, 1:49 PM
#15
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Post #15 by tinas

Just a thought since you said your new gallery is flash based...

You do realize that the newest IE updates require a "click to play" on flash? This could be why people are not seeing your flash gallery - because it has to be clicked on to start ...

Just a thought as I said.

When the world gets in my face I say Have A Nice Day.

31 Jul 2006, 2:21 PM
#16
dpatt111 avatar

dpatt111

New Zenner

Join Date:
May 2006
Location:
Newport NC
Posts:
34
Plugin Contributions:
0

Post #16 by dpatt111

Yea, I noticed that a while back on our other sites that have flash. That is not good for flash sites. :( Wish that IE hadn't made that change.
I didn't want to use flash on this new site, but singapore gallery was too much to grasp and was not sure if all the effort to make it work would pay off.
Does anyone know of a way to incorporate a gallery inside zen cart?:blink:
(Having thumbs on a page and when a thumb is clicked the larger photo would stay inside the same page.) The reason we want to use zen cart is because we want the option of selling photo related items.
Open to any suggestions.

Danny Patterson

31 Jul 2006, 10:48 PM
#17
switt avatar

switt

New Zenner

Join Date:
Jul 2006
Posts:
11
Plugin Contributions:
0

Post #17 by switt

:wink2: Zen-cart/Singapore Gallery integration demo here:

http://www.mthighmedia.com/ZC/index.php?main_page=singapore_zc130

Only current bug we're aware of is that we can't use "background color"
option with the "turn picture frame off" mode--

The color blocks at the top of the image pages
are supposed to allow changing the background color of the gallery page
via a mouse click--currently not functional-- we're
still looking for solution--could possibly be a stylesheet conflict/over-ride.

None-the-less, a very well executed add-on that will certainly improve
functionality & customer conversion (i.e. sales) for Zen-cart stores
that sell images/art/framed prints etc. :yes:

sWitt--OVER!

1 Aug 2006, 12:00 AM
#18
switt avatar

switt

New Zenner

Join Date:
Jul 2006
Posts:
11
Plugin Contributions:
0

Post #18 by switt

re: post #17

it was a browser bug regarding background color change via mouse roll-over.
works great in FF, but not Safari.

sWitt--OUT!

1 Aug 2006, 11:45 AM
#19
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Post #19 by hareslade

Hi folks
Glad to see someon'e interested..

Wonky background colour change? ... maybe...

Points arising are... when the picture frame is used, the display has a
javascript-run background colour changer. This was 'borrowed' from a super gallery site I found running on the web, if its not what you want, remove the code.

This sort of function is a 'less complicated' one where the page does not have to re-load from the server, so I expect some browsers might not support it.

Log in window

With the picture frame version, there is an extra feature which makes a 'log in' window appear instead of the main picture, unless you give a gallery world read permission. You'll probably see this happen on the included test gallery in the add on when picture frame is used.

So.. for the picture frame version, set 'world read' permissions on the galleries, currently the log in window may not be appearing properly anyway, I need to look into that. I might have left out a bit of code, by accident.

But the purpose of the log in window was to put off crawlers collecting the main pictures, the log in is in fact for a zencart user.. that is, you have to be a zencart user to see the pics. Once logged in you should get the picures normally.

Cross-gallery

Am I right, it seems people may want to use a second 'Singapore' completely separate installation, for admin or setting up the picture galleries?

This won't be that easy because my integrated version uses the mysql database to hold the pictures info, whereas standard off the shelf 9_11 uses whats called a flat-file, so even if you point your independent Singapore to use the zencart-located galleries folder, it won't talk to the actual zencart database.

If there's a demand for say using an independent normal Singapore, and wanting to transfer data to the zencart integrated version, let me know.

Password on zip?

No, I didn't put a password on the zip, if people get probs with that please p.m me, it might be an effect of using powerzip to zip up. I can do a winzip version to see if that is better.

W.I.P (meaning... maybe I should consider these things..)

I tried very recently to integrate Gallery2 fully into zencart. I did succeed in producing a mod to the 1.2xx add on from the gallery2 site so it will work with zc 1.3. But gallery2 won't embed fully into zencart in the same way as singapore, without yet again a lot of work. The embed mode does some unwanted things.

What I think is, gallery2 has great potential, their zencart module links/creates products to the cart and does all sorts of useful things. The functions in gallery2 are very good, but the complexity of the actual coding is high, its totally oop objects.

On the other hand, Singapore is a much simpler piece of kit comparatively, and perhaps if the latest version 10 was treated similarly to what I've done for 9_11, it might come out with extra facilities.

For instance, in V10 one can move galleries and pictures. In V10 i think it can be used with an off-web gallery folder, preventing direct linking to the gallery pictures where they sit in the folder.

So... if anyone has any views, let me know. The thing is, we don't need all the functionality of gallery2 probably, but maybe its possible to add the odd thing to the Singapore add on.

Your views would be appreciated, but please try to be clear what you think is useful. I can set up a development area for the Singapore ideas, anyone want that?

At the end of the day, integrating gallery2 seems like sledgehammer tactics, (it also wants high amounts of PHP memory to run, like 20Mb) ... and defining the useful facilities for say a future V10 Singapore integration might be a better long term idea.

1 Aug 2006, 12:21 PM
#20
hareslade avatar

hareslade

Totally Zenned

Join Date:
Nov 2004
Location:
U.K. South Wales
Posts:
442
Plugin Contributions:
0

Post #20 by hareslade

The code is for the background colour switcher is,
on the ordinary main picture display when the picture frame option is used:

function Draw_ground_colours()
in file /includes/modules/pages/rem_singapore_zc130/includes/singapore_zc130.class.php

If you wanted to remove the whole switcher assembly I assume you could change line 1789

return $dgc;

to

return '';

To change colours settings, change the

onmouseover=bg('red')

use the hex # value if using normal colour shade definitions