Hi,
I am using

Imagecache Profile Pictures 6.x-1.1
ImageCache 6.x-2.0-beta6
ImageAPI 6.x-1.x-dev
Avatar Crop 6.x-1.1

to manipulate user pictures to use in different parts of the site. The problem I am facing is that the user pictures are physically deleted from its main upload directory.

Let me rephrase it.

When I upload user picture using avatar crop the image is uploaded to the directory and that is for sure. Then the derivative images are created by the Imagecache Profile Pictures module are created and they were placed in their respective directories. I have created a profile view and a users picture view where that user pictures should be visible and i can see those uploaded images in start too. They remain their also, when i run cron manually or clear the site cache. But after a few hours user pictures vanishes from the site i.e. user profile view, user picture view as well as the pictures are physically deleted from their main directory. However the derived images remain in their imagecache subdirectory as well as the user picture path remains in user table of the database.

I really wonder why this is happening and what is causing all this. A few pictures remain visible which have been automatically renamed, like if i have uploaded john.jpg it is renamed to john_1.jpg, pictures with name like these remain visible but not all of them according to my inspection in this matter.

If anyone have any thought or solution please let me know.

Comments

adeel.iqbal’s picture

Status: Active » Closed (fixed)

hi

Never mind it was Avatarcrop module that was creating the problem. I have fixed it by myself.

spyderboy’s picture

Having the same problem with avatarcrop. Could you share your solution?

Thanks!

Antonio

adeel.iqbal’s picture

@spyderboy: which version of avatarcrop are you using??? upgrade to newer version if you have older one. if problem persists and surely is related to avatartcrop then create a thread under avatarcrop module's issue queue. I'll sort it out for you. ;)

Regards.