Keyword

User Gallery Relink Images, How?

  • John Vincent
  • John Vincent's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 6 months ago - 8 years 6 months ago #151982 by John Vincent
User Gallery Relink Images, How? was created by John Vincent
Hi,

On our page : clubdevo.com/photos

The links to the photos are gone. Any idea how to restore the links?

The photos are still on the server. And I can see them in the folder.

Thanks,

John
Last edit: 8 years 6 months ago by John Vincent.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 6 months ago #152009 by Krikor Boghossian
Replied by Krikor Boghossian on topic User Gallery Relink Images, How?
Try enabling the item's image in category listings.
This option is located in the category's settings.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • John Vincent
  • John Vincent's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 6 months ago #152055 by John Vincent
Replied by John Vincent on topic User Gallery Relink Images, How?
So help me out here

K2 uses a folder called cache to store different sizes of images. But this is not like a cache on a browser. I moved some of the files from this folder to gain severer space and only after I did some reading reading realized that i needed this cache folder.

Is this correct? and if these files are missing then my entire gallery is just not going to work

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 6 months ago #152079 by Krikor Boghossian
Replied by Krikor Boghossian on topic User Gallery Relink Images, How?
If you moved these files around, then K2 will not function properly.
The /cache/ folder contains the items' images.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • John Vincent
  • John Vincent's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 6 months ago #152088 by John Vincent
Replied by John Vincent on topic User Gallery Relink Images, How?
Ok. So thats what happened. I deleted some of the files because I and my host company thought they were "cache"

So this is a very misleading name for a folder. Don't you think?

In any case I am not sure what to do. I found this

www.joomlaworks.net/forum/k2-en/34155-solved-k2-image-cache-rebuild?start=10#142023

Do yo know if it work? Or if you have some way we can recreate the cache?

Please Log in or Create an account to join the conversation.

  • John Vincent
  • John Vincent's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 6 months ago #152097 by John Vincent
Replied by John Vincent on topic User Gallery Relink Images, How?
I need to access this file

j3test.ponyack.com/media/items/K2/rebuild.php

But the website keeps asking me to login. How do I bypass this in K2

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 6 months ago #152109 by Krikor Boghossian
Replied by Krikor Boghossian on topic User Gallery Relink Images, How?
Kudos, you found the extension.
I have not used it but users are really happy with it.

You need to run it via a cron job or thought the console.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • John Vincent
  • John Vincent's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 6 months ago #152112 by John Vincent
Replied by John Vincent on topic User Gallery Relink Images, How?
I am running it now but I am getting some warnings. I guess I need to reach out to other members and see how it worked for them

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 6 months ago #152123 by Krikor Boghossian
Replied by Krikor Boghossian on topic User Gallery Relink Images, How?
What warnings are you getting?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • John Vincent
  • John Vincent's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 6 months ago #152127 by John Vincent
Replied by John Vincent on topic User Gallery Relink Images, How?
This is 1 of 4 warnings all the same just the line number chganges

Warning: preg_match(): Compilation failed: invalid range in character class at offset 7 in /home/ianshawn/public_html/administrator/components/com_k2/lib/class.upload.php on line 2977

The line numbers are: 2190 | 2977 | 3004 | 3022

I emailed the developer of the script but I feel like that is a shot tin the dark

We are running Joomla 2.4 and K2 2.6

I know we need to update but this is custom site that was build years ago and developers are long gone. So its a problem that I inherited as a favor to a friend. So much for good deeds .

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum