New Zenner
- Join Date:
- Jun 2006
- Posts:
- 14
- Plugin Contributions:
- 0
Post #1 by webhie
Hi can anyone help me how to make zen cart accept all types of images.Pl tell me wat are all the modules responsible for adding an image.
New Zenner
Hi can anyone help me how to make zen cart accept all types of images.Pl tell me wat are all the modules responsible for adding an image.
Sensei
What images are you trying to accept? ... and how?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
New Zenner
Actually i would like zen cart to accet flash files as well as png files.
Obaa-san
Where do you want to use those images specifically?
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
New Zenner
At all places wherever other jpg and gif addition is possible
Sensei
If you are merely asking customers to upload those files, simply add the file extension in Admin->Configuration->Maximum Values->"Allowed Filename Extensions for uploading"
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
New Zenner
thank u drbyte. But to display an swf file there would be some difference in html code which i would have add whereever necessary.help me thru that
Sensei
If you are asking about how to display product images as flash objects, you'll have to brush off your PHP and HTML programming books and open the includes/functions/html_output.php file, and play with the zen_image() function and add the code to support flash objects. You'll have to add the extra HTML into the function's output if the filetype is SWF. You'll also have to find a way to auto-start all the flash objects so that your customers don't have to click two or three times on them in order to activate them.
Are you trying to "sell" flash objects, or merely use them to display product info?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
New Zenner
thank u drbyte.Iwil try this out.I jus want to display products with swf
New Zenner
Drbyte I coded it in html_output but i cant get in users view page it only affects administrators view.
New Zenner
Man, it has been so long since I looked at ZenCart - and have been asked to solve this one - will work it out and come back to the forum with a fix.
x MM
New Zenner
http://www.zen-cart.com/forum/archive/index.php/t-3418.html
If this does not help, buzz me and I will work on it and give an absolute solution for your request.
x MM
New Zenner
Yes manamedia thank you i have done but even the forum you showed is more optimised.
Tell staff why this post should be reviewed.