gallery mage & phpwebgallery

The source for help installing and using Tank Software's Gallery Mage and related programs.

gallery mage & phpwebgallery

Postby Taltos » Mon Aug 01, 2005 4:04 am

Hi !


First sorry for my poor english, it's not my natural language.

I have made for my mother a phpwebgallery site web

http://www.phpwebgallery.net

Is it possible to have an export function for phpwebgallery ?

I dont find an easy way for rezizing to 800*600 and lowing resolution to 72 dpi (and why not for remove space carracters to the name of the picture)

perhaps with an integrate function like coppermine or spgm ?


I hope you understandd what I wxant to say !

Bye from france !
Taltos
Member
 
Posts: 14
Joined: Mon Aug 01, 2005 3:57 am

Postby Taltos » Mon Aug 01, 2005 7:28 am

Perhaps do you need to know what does make the script ?

he need to make in the folders where are originals picture a folder of the same name and put the picture perhaps resize in 800x600 72 dpi, and make an other folder thumbnail who contiens (?!) TN-name of the pic with a size of 128X?


Is it possible ?


Thx
Taltos
Member
 
Posts: 14
Joined: Mon Aug 01, 2005 3:57 am

Postby divzero » Mon Aug 01, 2005 12:40 pm

Hi, yes this should be possible.

Can I clarify what you need:

A directory of images, resized to 800x600.
A sub-directory of this with pictures resized to 128X, with the name "TN-picturename.jpg".

Does the sub-directory have to be a particular name?

Incidently, you can do most of these things already just by editing the current .ini files (e.g. changing the "_thm_" thumbnail prefix to "TN-" in the SPGM exporter). However, I am more than happy to write a special script for phpwebgallery.

Cheers,

Will.
Stay up to date, follow @GPSLog on Twitter!
User avatar
divzero
Developer
 
Posts: 1118
Joined: Sat Sep 07, 2002 1:47 pm

Postby Taltos » Mon Aug 01, 2005 7:32 pm

divzero wrote:Hi, yes this should be possible.

Can I clarify what you need:

A directory of images, resized to 800x600.
A sub-directory of this with pictures resized to 128X, with the name "TN-picturename.jpg".

Does the sub-directory have to be a particular name?

Incidently, you can do most of these things already just by editing the current .ini files (e.g. changing the "_thm_" thumbnail prefix to "TN-" in the SPGM exporter). However, I am more than happy to write a special script for phpwebgallery.

Cheers,

Will.


Wahoo! thx !

I have found how to change the prefixe but remember, it's for my mother and I need to automate process.

the most simple I think is she choose a folder who contain big pictures. the export function, made a subfolder in the original folder with the same name. then he rezize the pict to for exemple width 800, height a variable for respecting proportions, dpi screen resolution 72dpi and don't modifiy exif and iptc data. after the export function make a subfolder "thumbnail" and make small pict off width 128 with the prefix TN-

does the export function can replace space caracter by a _ or other particular carracter by other ? (it's not very important)


thx a lot for your works !
Taltos
Member
 
Posts: 14
Joined: Mon Aug 01, 2005 3:57 am

Postby divzero » Tue Aug 02, 2005 10:46 am

Currently no, it doesn't replace any spaces. However, this is a good feature to add, so I shall add it.

OK then, well give me a week or so, and I should be able to create a custom exporter to those specifications.

Cheers,

Will.
Stay up to date, follow @GPSLog on Twitter!
User avatar
divzero
Developer
 
Posts: 1118
Joined: Sat Sep 07, 2002 1:47 pm

Postby Taltos » Wed Aug 03, 2005 1:53 am

divzero wrote:Currently no, it doesn't replace any spaces. However, this is a good feature to add, so I shall add it.

OK then, well give me a week or so, and I should be able to create a custom exporter to those specifications.

Cheers,

Will.


Thx Will ! You have all the time !

thx for your work !
Taltos
Member
 
Posts: 14
Joined: Mon Aug 01, 2005 3:57 am

Postby valar2006 » Wed Aug 03, 2005 10:46 am

valar2006
New Member
 
Posts: 1
Joined: Mon Jul 11, 2005 2:16 am

Postby divzero » Sun Aug 07, 2005 1:52 pm

Hi,

OK then, as requested:

http://sourceforge.net/project/showfile ... _id=347436

That is a "release candidate" build. In other words, unless you, me or anyone else finds any problems, it will be released officially.

So please, tell me how it works, and if it does what you want. The "remove spaces from filenames" feature I decided to turn ON by default.

Be sure to select "phpwebgallery" when exporting.

Cheers,

Will.
Stay up to date, follow @GPSLog on Twitter!
User avatar
divzero
Developer
 
Posts: 1118
Joined: Sat Sep 07, 2002 1:47 pm

Postby Taltos » Sun Aug 07, 2005 6:26 pm

divzero wrote:Hi,

OK then, as requested:

http://sourceforge.net/project/showfile ... _id=347436

That is a "release candidate" build. In other words, unless you, me or anyone else finds any problems, it will be released officially.

So please, tell me how it works, and if it does what you want. The "remove spaces from filenames" feature I decided to turn ON by default.

Be sure to select "phpwebgallery" when exporting.

Cheers,

Will.



Wahoo ! you are fast !!

I try and I say wath I think about it
Taltos
Member
 
Posts: 14
Joined: Mon Aug 01, 2005 3:57 am

Postby Taltos » Sun Aug 07, 2005 7:29 pm

Taltos wrote:
divzero wrote:Hi,

OK then, as requested:

http://sourceforge.net/project/showfile ... _id=347436

That is a "release candidate" build. In other words, unless you, me or anyone else finds any problems, it will be released officially.




After 10 minutes:

AMAZING !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Now it's easy and fast.
That's one small step for man, one giant leap for mankind. and a biggest for my mother !


I have some questions: how can i translate interface ? because now it will became an internationnal software we need translation ;)


EDITED:


Oups I have found a little bug the upload function doesnt upload the thumbnail subfolder and his content.

the name of the subfolder must be thumbnail not thumbnails (sorry)

and is it possible to call the export folder with the name of the parent folder ? it's better than "export"



it is possible to make the process "recursif" ?
exemple
Code: Select all
before:

folder_pictures1
pic1
pic2
      folder_pictures2
        pic3
        pic4

after:

folder_pictures1
pic1
pic2
  folder_pictures1 (resize)
   pic1 (resize)
   pic2 (resize)
      thumbnail
        TN-pic1
        TN-pic2

      folder_pictures2
        pic3
        pic4
            folder_pictures2 (resize)
                   pic3 (resize)
                   pic4 (resize)
                       thumbnail
                           TN-pic3
                           TN-pic4






more news in somes days....


thanks again
Taltos
Member
 
Posts: 14
Joined: Mon Aug 01, 2005 3:57 am

Postby divzero » Mon Aug 08, 2005 10:50 am

Glad it's working.

You can rename the thumbnail directory by editing the file conf/plugins/ex_phpwebgallery.ini, and changing the line:

Code: Select all
ThumbSubDirectory=thumbnails


to:

Code: Select all
ThumbSubDirectory=thumbnail


I will also make this change.

Regarding the upload feature, I forgot about that, I will add this sometime this week.

Regarding the feature request for recursive galleries, the program was not designed with that in mind, and is ill-equiped to handle it. Thus, currently per-gallery is the only way to go. Hopefully this isn't too much of a hassle.

Cheers,

Will.
Stay up to date, follow @GPSLog on Twitter!
User avatar
divzero
Developer
 
Posts: 1118
Joined: Sat Sep 07, 2002 1:47 pm

Postby Taltos » Mon Aug 08, 2005 3:52 pm

divzero wrote:Glad it's working.

I will also make this change.

Regarding the upload feature, I forgot about that, I will add this sometime this week.


Cheers,

Will.



And for the translation ?
Taltos
Member
 
Posts: 14
Joined: Mon Aug 01, 2005 3:57 am

Postby divzero » Tue Aug 09, 2005 12:51 am

You're the first to ask for that. I have created multi-lingual apps before, and I could internationalise Gallery Mage as well. However it does take time, so I would need to see more demand (or donations ;)) for it, otherwise the added value isn't worth the time it takes.

As a compromise, can you just write some instructions for her in your native language?

Cheers,

Will.
Stay up to date, follow @GPSLog on Twitter!
User avatar
divzero
Developer
 
Posts: 1118
Joined: Sat Sep 07, 2002 1:47 pm

Postby Taltos » Tue Aug 09, 2005 8:19 am

divzero wrote:You're the first to ask for that. I have created multi-lingual apps before, and I could internationalise Gallery Mage as well. However it does take time, so I would need to see more demand (or donations ;)) for it, otherwise the added value isn't worth the time it takes.

As a compromise, can you just write some instructions for her in your native language?

Cheers,

Will.


hum hum, I can make 2 actions,

the first, a donation (little but a donation) I 'lljust wait the resolution of the upload bug and the replace of the foder name "export" by the name of the folder who contain pic

the second is to call all the french users of phpwebgallery for they asking a french translation

or I can give your phone number to my mother :x :D :D :D :D

thx for your works !
Taltos
Member
 
Posts: 14
Joined: Mon Aug 01, 2005 3:57 am

Postby divzero » Tue Aug 09, 2005 3:07 pm

The first two actions sound good :)

I have made the nessesary changes to the FTP feature. Tonight I will test this, and then upload a new version.

Cheers,

Will.
Stay up to date, follow @GPSLog on Twitter!
User avatar
divzero
Developer
 
Posts: 1118
Joined: Sat Sep 07, 2002 1:47 pm

Next

Return to Gallery Mage

Who is online

Users browsing this forum: No registered users and 1 guest

cron