Image Path

gaurav10feb

Joined: 2010-08-24
Posts: 31
Posted: Thu, 2011-05-12 07:32

Hello,

Can anyone please guide me i want to store the static image path into the database for each item instead of using main.php?g2_view=core.DownloadItem&g2_itemId=... command

Regards

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2011-05-12 11:10
 
gaurav10feb

Joined: 2010-08-24
Posts: 31
Posted: Fri, 2011-05-13 00:21

I think i didnt explain it properly.

with every thumbnail it runs php file to upload the thumbnail ...can this be done using image path or something

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2011-05-13 00:37
 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Fri, 2011-05-13 05:54

Not normally with G2 as stated as this is how G2 operates the "Image Firewall" but you can change the core code to do this.

I use this on my site with my "Bypass" module (more of a patch).
You can read more of the Bypass Module here

Essentially, the "Image Firewall" can be bypassed which may, or may not, be an issue for you.

I withdrew the module back then but read that thread and let me know by PM if interested and I'll send you a download link.

--
dakanji.com