selecting a specific category image keeps reverting to incorrect image

Phoca Gallery - image gallery extension
vtjoanne
Phoca Member
Phoca Member
Posts: 21
Joined: 28 Jul 2012, 22:58

selecting a specific category image keeps reverting to incorrect image

Post by vtjoanne »

I am selecting a specific image for a category. When I save and close, it displays, but after a while it reverts to the first image in the slide show?
Please advise as to why this is happening?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9119
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: selecting a specific category image keeps reverting to incorrect image

Post by Benno »

Hi,
Please advise as to why this is happening?
Yes, but:
Which Phoca Gallery version do you use?
Which Joomla! version do you use?
Which PHP version do you use?
Which method to create category images do you use?
Which URL?

Any additional information is helpful to solve the problem! :idea:

Kind regards,
Benno
vtjoanne
Phoca Member
Phoca Member
Posts: 21
Joined: 28 Jul 2012, 22:58

Re: selecting a specific category image keeps reverting to incorrect image

Post by vtjoanne »

Phoca Gallery V 4.4.1
Joomla V 3.9.24
PHP V 7.3.11
Method > category > image(set which image will represent category) save & close.
http://prntscr.com/zr6ah4

Correct category image displays for a while but after a few minutes reverts to first image in category

katherinekavanaugh dot com

Thank you Benno :)
vtjoanne
Phoca Member
Phoca Member
Posts: 21
Joined: 28 Jul 2012, 22:58

Re: selecting a specific category image keeps reverting to incorrect image

Post by vtjoanne »

FYI, I just realized that as soon as I make a change in the category such as adjusting the title, the image reverts to the default category (1st) image and as such the desired image is lost.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9119
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: selecting a specific category image keeps reverting to incorrect image

Post by Benno »

Hi, confirmed!
I will contact Jan.

Kind regards,
Benno
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: selecting a specific category image keeps reverting to incorrect image

Post by Jan »

Hi, thank you for the info, confirmed, please download this file:
https://github.com/PhocaCz/PhocaGallery ... ctitem.zip

and unzip it to folder:
administrator\components\com_phocagallery\models\fields\
(file phocaselectitem.php will be overwritten)

This should solve it. Please, let me know.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9119
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: selecting a specific category image keeps reverting to incorrect image

Post by Benno »

Hi Jan,
in my case, it's fine now. :-)

Kind regards,
Benno
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: selecting a specific category image keeps reverting to incorrect image

Post by Jan »

Ok, thank you for the info.

Jan
If you find Phoca extensions useful, please support the project
yapanta
Phoca Member
Phoca Member
Posts: 12
Joined: 03 Aug 2012, 11:21

Re: selecting a specific category image keeps reverting to incorrect image

Post by yapanta »

Hello, I have the same problem and I use the latest version 4.4.2
Do I have to wait for the next version of phoca in order to solve it?
Thank you
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: selecting a specific category image keeps reverting to incorrect image

Post by Jan »

Hi, yes, this will be included in version 4.4.3. For now just use the quick fix (copy the file which is included here to your website)

Jan
If you find Phoca extensions useful, please support the project
Post Reply