Photo Hash Field? Manual Upload?

Hash field in bx_photos_main

---------------------------------------------------------------

The bx_photos_main table has a field called Hash, the

contents of the field looks like an MD5 hash.

 

I think this field is used as the file name for the photo,

the actual file name for the photo is the id number

of the row in the table, but I can’t recreate the Hash

by using MD5(ID).

 

What I’m trying to do is add a photo to the dolphin

system [as admin] without using the upload form.

 

Is this something that can be done this way or is it a no go?

 

If I knew how to create the Hash field at least I could test it.

Csampson
Quote · 11 Dec 2010

The hash really does not matter what it is. It's pretty much used as a method of lookup to get the actually data for displaying the photo. A security thing to hide the real file name from members.

You can generate a hash during insert into the database by using MD5(RAND()) in the hash field.

You will also need to upload all needed copys of the photo after insert using the ID that the insert created as a filename.

Then to make the photo appear, the id of that photo also has to be inserted into an existing photo album.

https://www.deanbassett.com
Quote · 11 Dec 2010

i think i have this related issue on my server..

please check it here http://www.boonex.com/unity/forums/topic/m-photos-get_image-thumb-947f429d5fe8b8c321e7b962d.htm

=> http://friends.smansakra.sch.id => friends community based dolphin 7
Quote · 12 Dec 2010

hello ,

I am facing some problem regarding my Photo Module. Many users are missing their photos. All on a sudden they found their folder gone.

I can see the thumbnail inside the admin panel (photo module) but after clicking showing 'file not found'. I have checked the ftp site and found the images are there in server.

I am in a middle of an user-study which is ending on 19th December and I need an immediate feedback. Can you help ?

Quote · 16 Dec 2010

 

hello ,

I am facing some problem regarding my Photo Module. Many users are missing their photos. All on a sudden they found their folder gone.

I can see the thumbnail inside the admin panel (photo module) but after clicking showing 'file not found'. I have checked the ftp site and found the images are there in server.

I am in a middle of an user-study which is ending on 19th December and I need an immediate feedback. Can you help ?

Hello,

I have too this same problem..

?

Quote · 30 Dec 2010

Yeah i'm having this photo problem. The actual image is showing up in the file directory modules/boonex/photos/data/files BUT when i run the hash for that image nothing shows up. Just the name of the URL of the jpg but no picture.

My allow_url_fopen is already ON - can someone help out here? Why does the photo not load?

Quote · 12 Jul 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.