Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 1 votes

Products Cycle Slideshow


136 replies to this topic

#21 QHelmer

  • Community Member
  • 3 posts
  • Real Name:Allan Larsen

Posted 23 September 2008, 19:50

Hi guys and Girls

Is there a way to make this work in a box ? like the shoppingcart and languages and that sort of thing ?

If there is.. could you tell me how please ??

GREAT contri..

#22 Olof Larsson

  • Community Member
  • 91 posts
  • Real Name:Olof Larsson
  • Gender:Male
  • Location:Sweden

Posted 23 September 2008, 19:51

View PostcarryG, on Sep 23 2008, 06:49 AM, said:

Yup that's me in the pic - why do guys always ask that lol...

Anyway, for my pet store, I am trying to do the product slideshow but for some reason, the background of the pictures shows up black on some pics and other white. Is there something I am doing that could cause that - it looks really terrible as the site is all white background (with paw prints)?

C

GREAT improvements btw.

Guys ask because you look good, obviously ^^

This black background appears if you install the contribution on a completely new store. Because the product photos are transparent gifs (I think). The thumbnailer is not perfect. Transparency becomes black. I'm not sure but are your images, the turns-into-black ones, gif's with transparency? Perhaps it works with transparent png's?

(I hope so! I hate gif! it is an awfull format :angry: people should use png instead! It has alpha transparency and smaller filesize etc etc :lol: )

Thx for comment on improvements ^^

#23 Olof Larsson

  • Community Member
  • 91 posts
  • Real Name:Olof Larsson
  • Gender:Male
  • Location:Sweden

Posted 23 September 2008, 19:57

View PostSir.K.O., on Sep 23 2008, 02:36 PM, said:

WOW, was impressed by this Contribution! Looks really good, but unfortunately i didn't get it to work on my store. It displays the text, but does not sho up any images or any errors. just one simple plain textline "product titel, price" and this one is fading ;)

have to correct myself: it just DOESN'T WORK IN FIREFOX.
Internet Explorer shows up the images as they should be, but mentioned by Carry (nice eye(s) btw ;)), ive got black background too

This seems to be due to something... eh...
Try... following these general tips: (I say this when I have no good answer):
*Try the program Beyond Compare
*Get Web Developer Toolbar for firefox and Disable -> cache
*If this has not helped you install on a fresh store to see if there is "bad cooperation" with another contribution

#24 Olof Larsson

  • Community Member
  • 91 posts
  • Real Name:Olof Larsson
  • Gender:Male
  • Location:Sweden

Posted 23 September 2008, 20:00

View PostQHelmer, on Sep 23 2008, 08:50 PM, said:

Hi guys and Girls

Is there a way to make this work in a box ? like the shoppingcart and languages and that sort of thing ?

If there is.. could you tell me how please ??

GREAT contri..

Yeah! ^^ Just make sure that you put the "require code" enclosed in a td-tag. But this would make that box expand like hell because the slideshow is big and won't become smaller automatically. For it to become smaller you will have to modify the CSS related to the slideshow. But if you do: Yes then it could look good.

#25 carryG

  • Community Member
  • 125 posts
  • Real Name:Carry G
  • Gender:Female
  • Location:USA

Posted 23 September 2008, 20:16

View PostOlof Larsson, on Sep 23 2008, 03:51 PM, said:

Guys ask because you look good, obviously ^^

This black background appears if you install the contribution on a completely new store. Because the product photos are transparent gifs (I think). The thumbnailer is not perfect. Transparency becomes black. I'm not sure but are your images, the turns-into-black ones, gif's with transparency? Perhaps it works with transparent png's?

(I hope so! I hate gif! it is an awfull format :angry: people should use png instead! It has alpha transparency and smaller filesize etc etc :lol: )

Thx for comment on improvements ^^


Thanks!

Hmmm not sure - I had teams of people doing data entry so I think some may be gifs and some jpg. Ideally the mod could differentiate (if this is the case on even a new store) and if a gif, resize the window to only show the image itself. Its the field behind the image not the image itself that is showing black, its the filler that's left over to accommodate this mod.

C

Used Firefox Web Developer for years and never knew about disable cache...lol. Thanks again!!

#26 Sir.K.O.

  • Community Member
  • 19 posts
  • Real Name:Sirko Wolfram

Posted 24 September 2008, 13:23

The images are all ok, the even have short names below 8 chars and without any special chars. IE shows them without problems - FF3 not. Emtpying the cache doesnt effect.

the black background is not within the images, it is to the left and right of my products images. fileformat is JPG. image width maybe 100px, the box to show them is 200px, the black appears right and left to the image. its the background of the box.

Edited by Sir.K.O., 24 September 2008, 13:26.


#27 carryG

  • Community Member
  • 125 posts
  • Real Name:Carry G
  • Gender:Female
  • Location:USA

Posted 24 September 2008, 15:36

Great contribution, but this is a quirk that may have to make us pull it from our site. The pictures with the black background surrounding it is really, really annoying - it just looks like we didn't add pictures correctly. The only fix we can recommend is using full size pictures specifically for this, that give you the appearance you want or display only pictures that do not have this background (by this mod) - something not feasible for most.

Still working on this...

#28 Olof Larsson

  • Community Member
  • 91 posts
  • Real Name:Olof Larsson
  • Gender:Male
  • Location:Sweden

Posted 24 September 2008, 18:41

View PostcarryG, on Sep 24 2008, 04:36 PM, said:

Great contribution, but this is a quirk that may have to make us pull it from our site. The pictures with the black background surrounding it is really, really annoying - it just looks like we didn't add pictures correctly. The only fix we can recommend is using full size pictures specifically for this, that give you the appearance you want or display only pictures that do not have this background (by this mod) - something not feasible for most.

Still working on this...

New version released: 1.2

New in this version:
*Pictures with transparency will not get black background anymore. All images are outputted as JPG with white background. :lol:

#29 carryG

  • Community Member
  • 125 posts
  • Real Name:Carry G
  • Gender:Female
  • Location:USA

Posted 24 September 2008, 19:32

View PostOlof Larsson, on Sep 24 2008, 02:41 PM, said:

New version released: 1.2

New in this version:
*Pictures with transparency will not get black background anymore. All images are outputted as JPG with white background. :lol:


WOW!!

This guy is good!!!

Talk soon. I have work for you just trying to decide what, be back in town after Tuesday!~
c

#30 Jupiters

  • Community Member
  • 55 posts
  • Real Name:Fredlora

Posted 24 September 2008, 22:01

Hi Olof,

tried to make your contri php4 compatibel. php doesnt know things like "public" or "private". Thats why you can find a version of the thumbnail.inc for php4 on the original website of the thumbnailer. i compared it with winmerge as described before. what else needs to be changed? you mentionend something, but i dont know what you mean...

another thing was written on the page " IMPORTANT PHP 4 NOTE
You must remember to call the destruct() function at then end of your scripts in order to deallocate the memory used for the image manipulation, similar to the way you must always call fclose() when you use fopen(). The PHP 5 class does this automatically, so there is no need to explicitly call this function (it doesn’t exist as a matter of fact!)."

perhaps this has something to do with the problem on php4? http://www.gen-x-design.com/projects/php-thumbnailer-class/

thx for helping !

greets jupiters

#31 Olof Larsson

  • Community Member
  • 91 posts
  • Real Name:Olof Larsson
  • Gender:Male
  • Location:Sweden

Posted 25 September 2008, 08:31

View PostcarryG, on Sep 24 2008, 08:32 PM, said:

WOW!!

This guy is good!!!

Talk soon. I have work for you just trying to decide what, be back in town after Tuesday!~
c

Thanks lol :lol:
Thank you (everyone) for telling me that fixing this was important. I did not fix this in the beginning as I did not use transparency in the images on my store and all my images was so large they where resized down in size by the thumbnailer class (making me immune to this black-background error). However it will happen that stores has smaller andor transparent images thus making this important to fix.

This forum is great. Thanks people. Without all your help with error testing and ideas the contribution would not improve this fast :)

Improvement ideas i currently have:
* I'm not sure if the resized images can be cached by browsers right now... This should be possible and fixed if it currently is not possible.
* The images should be preloaded before the slideshow starts. Otherwise, if you have a slow Internet connection, you will see the slideshow moving and images loading at the same time (ugly).
* Custom items in the slideshow (Would make demonstrations of other stuff than products possible)
* Sort order for items in the slideshow.

Does anyone have any more ideas?

#32 2fix4u

  • Community Member
  • 77 posts
  • Real Name:Harry
  • Gender:Male
  • Location:EU

Posted 25 September 2008, 10:12

Hello,

Great Contrib i really want it for my shop but i got still one little problem:

I get still the error message: FILE NOT FOUND!
When i go directly to: http://....../catalog/show_resized_image.php?filename=images/mini_inferno/Servohalterung.jpg%20&width=482&height=292
i become the same error but when i delete the %20 after the file name it will be displayed correctly.
Same Problem in Firefox or IE7. I think its only a smal problem but i don't have any idea to fix it!
I really like this contrib. Please Help

THX for helping

greets 2fix

Sorry for my bad english! :unsure:

#33 Jupiters

  • Community Member
  • 55 posts
  • Real Name:Fredlora

Posted 25 September 2008, 10:24

yeah got a suggestion: make it php4 compatbile, cause MANY use highly modified shops with a lot of contris which depend on php4.


greets

#34 ricardodacosta

  • Community Member
  • 132 posts
  • Real Name:ricardo

Posted 27 September 2008, 20:24

Great Contribution!

Suggestion:

We have a Tea shop and for us it would be great if we could add specific products and/or categories

Looks great...Thanks!

Ricardo

#35 2fix4u

  • Community Member
  • 77 posts
  • Real Name:Harry
  • Gender:Male
  • Location:EU

Posted 28 September 2008, 11:12

View Post2fix4u, on Sep 25 2008, 11:12 AM, said:

Hello,

Great Contrib i really want it for my shop but i got still one little problem:

I get still the error message: FILE NOT FOUND!
When i go directly to: http://....../catalog/show_resized_image.php?filename=images/mini_inferno/Servohalterung.jpg%20&width=482&height=292
i become the same error but when i delete the %20 after the file name it will be displayed correctly.
Same Problem in Firefox or IE7. I think its only a smal problem but i don't have any idea to fix it!
I really like this contrib. Please Help

THX for helping

greets 2fix

Sorry for my bad english! :unsure:


No one an Idea?
For any kind of help I would really appreciate!
Thanks

#36 Olof Larsson

  • Community Member
  • 91 posts
  • Real Name:Olof Larsson
  • Gender:Male
  • Location:Sweden

Posted 28 September 2008, 13:26

View Post2fix4u, on Sep 28 2008, 11:12 AM, said:

No one an Idea?
For any kind of help I would really appreciate!
Thanks

%20 is an url-encoded space. Why is there a whitespace there? Have I put it there or have you somehow? :blink:
I'll look into this later.

#37 2fix4u

  • Community Member
  • 77 posts
  • Real Name:Harry
  • Gender:Male
  • Location:EU

Posted 28 September 2008, 18:11

View PostOlof Larsson, on Sep 28 2008, 02:26 PM, said:

%20 is an url-encoded space. Why is there a whitespace there? Have I put it there or have you somehow? :blink:
I'll look into this later.

I've nothing changed on the original code! I use SEO URLs contrib, perhaps is that the reason!? :unsure:
Thanks for your help!

Greets

#38 ricardodacosta

  • Community Member
  • 132 posts
  • Real Name:ricardo

Posted 28 September 2008, 22:41

View Post2fix4u, on Sep 28 2008, 07:11 PM, said:

I've nothing changed on the original code! I use SEO URLs contrib, perhaps is that the reason!? :unsure:
Thanks for your help!

Greets

I don't know how to help you, but to let you know, I have SEO URLs on mine and is not affecting this contribution. I would check the files again and compare them, usually that works for me.

-Ricardo

#39 Olof Larsson

  • Community Member
  • 91 posts
  • Real Name:Olof Larsson
  • Gender:Male
  • Location:Sweden

Posted 29 September 2008, 15:55

New version online: Products Cycle Slideshow V1.3
New in this version:

*PHP4 compability
*Server- and Browser-side cache
*Image output quality configuration option in the admin panel.
*Easier installation
*Fixed a bug for horizontal positioning of images

Please report any bugs you may encounter ^^

#40 smiler99

  • Community Member
  • 59 posts
  • Real Name:chris
  • Gender:Male

Posted 04 October 2008, 18:29

Good Contrib, installed easy, i have 10+ major contrib installed already and luckily none had used the 3 main files that need to be edited / replaced, however i think i have noticed 1 typo which doesnt seem to cause an issue but thought i would flag it anyway.

\catalog\includes\boxes\best_sellers.php in the original has a $, in replacement does not, as shown below

if (isset($current_category_id) && ([color="#FF0000"][b]$[/b][/color]current_category_id >0)){

Also

when you go into product info page, the Javascript sources do not get loaded, and the slideshow does not work, unsure if i missed something or have a modofies index.php which causes the issue but i fixed it by adding the javascript sources into catalog\product_info.php

//--></script>
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<script type="text/javascript" src="js/builder.js"></script>
[color="#FF0000"]<script type="text/javascript" src="js/jquery-1.2.6.js"></script>
<script type="text/javascript" src="js/jquery.cycle.all.pack.js"></script>[/color]

** please note may not have all these scripts installed but the above indicates roughly where you should place the new lines)


see this contrib in action here - fireplace2u.co.uk

(still work in progress)

Edited by Jan Zonjee, 04 October 2008, 21:03.