change default images title

Phoca Gallery - image gallery extension
mhparvaz
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 15 Sep 2014, 06:28

change default images title

Post by mhparvaz »

hello
By default, images title will be created from Filename; Is it possible to assign "Category title" for image title, instead of Filename?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9119
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: change default images title

Post by Benno »

Hi,
Yes this is possible.
See image:
Image
1.) Use Multiple Add
2.) Select the category
3.) Select the images
4.) Set Title (e.g. category title)
5.) Don't use Filename checkbox!!
6.) Save & Close

The result:
Image
category title=image title

Kind regards,
Benno
mhparvaz
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 15 Sep 2014, 06:28

Re: change default images title

Post by mhparvaz »

Hello!
Thanks for response!
In which file (in the phocagallery folder) determined that images title create from Filename?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9119
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: change default images title

Post by Benno »

Hi,
sorry, I don't understand. Phoca Gallery images titles are stored in the database. :idea:

Kind regards,
Benno
mhparvaz
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 15 Sep 2014, 06:28

Re: change default images title

Post by mhparvaz »

Hi,
The previous question is solved!
But I have another question: I have a large number of images and categories in my phocagallery. I used "Multiple Add" to add images. But wrongly i use Filename checkbox. :cry: and in Google, each Image have been introduced by its filename. Is there any solution to change all images title to their category title?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9119
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: change default images title

Post by Benno »

Hi,
But wrongly i use Filename checkbox. :cry: and in Google, each Image have been introduced by its filename. Is there any solution to change all images title to their category title?
I don't know such a solution except, to rename every single image one by one. :idea:
backend --> Components --> Phoca Gallery --> Images --> Select Category --> Image --> Edit --> Image: [ Edit ] --> Edit Image --> Title *=(Set title like category title)
--> Alias=(Delete old alias)
Save & Close

New Alias will be created from new title during saving.

Kind regards,
Benno
Post Reply