Jump to content
Sign in to follow this  
killerwhale65

photo gallery for oscommerce

Recommended Posts

According to the install.txt a folder should be created called gallery/ but there is no other reference made towards this folder anywhere else. Is this a typo? Please help. :blink:


Debbie Harrison

 

Share this post


Link to post
Share on other sites

Also the infobox isn't showing regardless of what column I had it to. Is this because I haven't got any images added yet?

 

Any advice will be gratefully received!


Debbie Harrison

 

Share this post


Link to post
Share on other sites

I have managed to sort out the problem by going through the entire installation process again. The line in catalog/account.php was split and this seems to have worked.

 

However, I still have no idea why the gallery box is not showing up. I have changed much in column_left.php

Edited by dvharrison

Debbie Harrison

 

Share this post


Link to post
Share on other sites

Can anyone advise how I can get a random gallery image to pop up in the image box?

 

Please could anyone help?


Debbie Harrison

 

Share this post


Link to post
Share on other sites

why am i having this problem when trying to upload a picture at admin panel

 

Error There was an error uploading the file bird.jpg, please try again!

Share this post


Link to post
Share on other sites

I have updated the add on.

 

+Fixed link in gallery infobox header to point to gallery not specials

+added PHP pre version 5 compatibility

+renamed info boxes to gallery_plain.php and gallery_slideshow.php to avoid confusion

+Encode special characters inputted by users to be sql, javascript compatible(pictures with quotes in the title did not open using highslide)

+Users have to be logged in to leave comments

+add link to upload in infobox

+if not enough thumbs use less than 25

 

 

lildog

 

This update should prevent the span being entered in the comment box and causing the gallery to fail. A working version can be seen at: Live Gallery

Edited by lildog

Share this post


Link to post
Share on other sites

Hi all, can someone help me please. I'm having the same problem as a poster a few posts ago. I can't get the slideshow gallery box to appear in right-col or left-col. The plain one works fine. I had the same problem on 0.9 and thought 1.0 would fix it. It didn't, lol.

 

I know things are pointing in the right direction, as if I change the name of gallery_slideshow.php to some random name I get errors in the right-col stating the file gallery_slideshow.php doesnt exist, etc.

 

As I said, the plain one works fine. Oh so very confused, lol.

 

Thanks in advance,

 

Oddski

Share this post


Link to post
Share on other sites

Uh...how many images do you have? I assume none? Try adding some images from the admin side, and see if it shows up. It may turn off if there are no images.

 

Todd

 

 

Hi all, can someone help me please. I'm having the same problem as a poster a few posts ago. I can't get the slideshow gallery box to appear in right-col or left-col. The plain one works fine. I had the same problem on 0.9 and thought 1.0 would fix it. It didn't, lol.

 

I know things are pointing in the right direction, as if I change the name of gallery_slideshow.php to some random name I get errors in the right-col stating the file gallery_slideshow.php doesnt exist, etc.

 

As I said, the plain one works fine. Oh so very confused, lol.

 

Thanks in advance,

 

Oddski

Share this post


Link to post
Share on other sites

No, I tried adding a couple of test images and still no joy. I can access everything else perfectly and can go to gallery.php and view the pictures there. It's just the box that doesn't show :s

 

It seems as if there is something in that file that just isn't quite working for me! All other boxes show up fine, and as I said earlier the text version works fine. I've tried going through every stage of installation twice in case I missed something, so I'm pretty sure it's all okay in that respect.

 

Adam

Share this post


Link to post
Share on other sites

Adam,

I did a fresh install and there are a few errors and steps missing. I am working on an upgrade now. I am about an hour away from a new version. This was built on a modified store. Sorry for the inconvenience.

 

Todd

 

 

 

No, I tried adding a couple of test images and still no joy. I can access everything else perfectly and can go to gallery.php and view the pictures there. It's just the box that doesn't show :s

 

It seems as if there is something in that file that just isn't quite working for me! All other boxes show up fine, and as I said earlier the text version works fine. I've tried going through every stage of installation twice in case I missed something, so I'm pretty sure it's all okay in that respect.

 

Adam

Share this post


Link to post
Share on other sites

Ok the new update is posted. I believe MOST of the problems have been with Photo Gallery cooperating with OTF. I have a few minor things to do but it should at least work for now.

 

Todd

 

 

Genius!! Thanks Todd, I appreciate that more than you'll ever know! Thanks :D

 

Adam

Share this post


Link to post
Share on other sites

For some reason you need to upload 2 images in the admin for the slideshow to work. I am working to resolve this error.

 

Also right now, images uploaded in the admin will not show up in the slideshow box UNTIL someone visits the gallery page to generate a thumb for it. I am working to fix this also.

 

Todd

Edited by lildog

Share this post


Link to post
Share on other sites

hello

I try to install the contribution photo_gallerie1.0

I met several reasons

 

in admin-boxing gallery, I have not had access Superusers and I upload this post:

No access is invalid!

Please contact the webmaster if you have problems accessing

Share this post


Link to post
Share on other sites

hello

I try to install the contribution photo_gallerie1.0

I met several reasons

 

in admin-boxing gallery when I click on Superusers I have this message:

Fatal error: Call to undefined function: tep_hide_session_id () in / home / WwwBSD / monsite.com / admin / gallery_superusers.php on line 112

Share this post


Link to post
Share on other sites

I will check it out.

 

Todd

 

hello

I try to install the contribution photo_gallerie1.0

I met several reasons

 

in admin-boxing gallery when I click on Superusers I have this message:

Fatal error: Call to undefined function: tep_hide_session_id () in / home / WwwBSD / monsite.com / admin / gallery_superusers.php on line 112

Share this post


Link to post
Share on other sites

I will check it out.

 

Todd

 

 

hello,

they said I had to put this code in general.php admin

// Hide form elements
 function tep_hide_session_id() {
   global $session_started, $SID;

   if (($session_started == true) && tep_not_null($SID)) {
     return tep_draw_hidden_field(tep_session_name(), tep_session_id());
   }
 }

 

 

is true?

can you explain this code?

Edited by rtony30

Share this post


Link to post
Share on other sites

The most likely reason is for some reason in admin/includes/html_output.php your function tep_hide_session_id() is missing.

 

Todd

 

 

hello

I try to install the contribution photo_gallerie1.0

I met several reasons

 

in admin-boxing gallery when I click on Superusers I have this message:

Fatal error: Call to undefined function: tep_hide_session_id () in / home / WwwBSD / monsite.com / admin / gallery_superusers.php on line 112

Share this post


Link to post
Share on other sites

Sorry it looks like you found the answer. The code is part of OSCommerce. It hides form elements from view. I assume it acidentally got deleted somewhere along the line. Paste it in and try again.

 

 

In my version of osc it is in admin/includes/functions/html_output.php. But general would probably work also.

 

 

Todd

Edited by lildog

Share this post


Link to post
Share on other sites

Sorry it looks like you found the answer. The code is part of OSCommerce. It hides form elements from view. I assume it acidentally got deleted somewhere along the line. Paste it in and try again.

 

 

In my version of osc it is in admin/includes/functions/html_output.php. But general would probably work also.

 

 

Todd

 

it works

 

I have two files in the now catalogue include fonction html_output.html and admin include fonction general.php

 

thank you

Edited by rtony30

Share this post


Link to post
Share on other sites

You are welcome. Good Luck. Also....stay tuned here I am releasing another update soon.

 

 

Todd

 

it works

 

I have two files in the now catalogue include fonction html_output.html and admin include fonction general.php

 

thank you

Share this post


Link to post
Share on other sites

I have uploaded a new version.

 

+ upgraded OTF to 2.4 fix

+ No slideshow if only one image

+ Add default image for plain image gallery box

+ Image box tooltip language compatible

+ Made some text more clear

+in admin on upload page:

state image size limits

 

 

This update should clarify some of the errors in admin and fixed the infoboxes a bit.

 

lildog

Share this post


Link to post
Share on other sites

I suggest there is a bug

 

.htmlentities - cant decode non English Title text

 

catalog/gallery.php

echo "\n".'<td align="center"><a id="autoload'.$fotos['cID'].$fotos['pID'].'" href="' . tep_href_link($dir.$file) . '" class="highslide" onclick="return hs.expand(this,{headingText: \''.htmlentities($fotos['title']).'\'})">'.tep_image($dir . $file, '', 150, 150, 'hspace="5" vspace="5"').'</a><br>'.stripslashes($fotos['title']);

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×