Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Encrypt product images filename


le6ha2

Recommended Posts

Posted

I would like to encrypt product images filename when view source on popup_image.php

 

For examples:

http://demo.oscommerce.com/popup_image.php?pID=1

 

When view source, we see the full path of the product picture save on the server.

 

<img src="images/matrox/mg200mms.gif" border="0" alt="Matrox G200 MMS" title=" Matrox G200 MMS " width="100" height="80">

 

How to encrypt this path? so it will not show the real path?

 

thank you for your help.

Posted

it's not encrypt, it simply 1 record in the table, basically try:

 

http://demo.oscommerce.com/popup_image.php?pID=1

http://demo.oscommerce.com/popup_image.php?pID=2

http://demo.oscommerce.com/popup_image.php?pID=3

 

the number is connected to image, the script is looking at mysql table.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Posted
I would like to encrypt product images filename when view source on popup_image.php

 

For examples:

http://demo.oscommerce.com/popup_image.php?pID=1

 

When view source, we see the full path of the product picture save on the server.

 

<img src="images/matrox/mg200mms.gif" border="0" alt="Matrox G200 MMS" title=" Matrox G200 MMS " width="100" height="80">

 

How to encrypt this path? so it will not show the real path?

 

thank you for your help.

Just curious but why the need?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

This is an example of a popup_image.php source

 

<img src="oscthumb.php?src=lMzVwtXM2I7O18zWyJyxtaY.&w=640&h=466&f=jpg&q=95&hash=af3db94ee9bce30ffc98ad5aac4dc92a" w="640" h="466" name="prodimage" border="0" alt="">

 

The image source is encrypted.

 

this is oscThumb contrib. I dont want to install all the contrib, just want to use encryption only.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...