Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

If I upload a given image like my-image.jpg, then following image resizes occurs:

also the original image is uploaded:

I have two question about which actions try to:

1 Question

Rename image name to a complicated long name like 5702703214_85bfb55948.jpg:

2 Question

Avoid access to original image uploaded, let access to thumb, medium and large, but deny access just only to the original image uploaded?

Thanks in advance

share|improve this question

1 Answer 1

up vote 1 down vote accepted

create shortened URL function, then add filter on the_content() to replace all img src URL to shortened URL

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.