Adding images by URL & Storage Limits

If I add an image via URL, does it count against my media manager limit?

I’m not clear if the image becomes a physical file of the media manager.

Currently I’m out of space (I know I can upgrade), but I got to thinking about using the URL option instead - just not sure if it’s ultimately the same thing.

Thanks.

No, the image is stored wherever you linked it from
All you’re telling the browser to do is “Fetch the image from that site”

1 Like

It does count towards the limit as it gets the file and hosts it. I was curious about this question so I tested it out and you can see the storage before…


and here’s the storage after.

I grabbed the first image I saw online but now this URL is used rather than original URL address that I grabbed online here.
I don’t know definitively but I would think it gets the file, adds it to the media manager to host it so in case the previous link goes down, it doesn’t affect your site.

1 Like

Hi @deanAyalon,
Hmm…the reply from Rob contrasts this. Thoughts?

Hi, I actually tested this out myself, and saw the same result - it added it to the media manager. It sounds silly, but I wasn’t sure if I was interpreting that result correctly, but it appears it becomes a physical file, therefore takes up space.

I am new to Wix so just trying to ensure I understand appropriately. Thoughts on @deanalayon’s response?

Thank you for taking the time to respond.

1 Like

I misunderstood, sorry
While normally <img src='' /> does not store the image on your site, Wix’s internals do not work as simply

If you add a picture to the media manager from an external URL, yes it will download and store it

Should you have pictures with their source set to an external site though, those will not be stored on your site:

$w('#someImg').src = 'https://jollycontrarian.com/images/6/6c/Rickroll.jpg'
2 Likes

Yeah. It’s cool to test and Dean’s option isn’t a bad option as it’s not a load of code and if you already have the file URLs, it could be useful.
Both aren’t bad options.

1 Like

Thanks much to you and @DeanAyalon for the responses! You guys & your code are way beyond me, but the rickroll was a nice touch! :rofl: Tip o’the hat to you, gentlemen!

1 Like

Glad it helped and I recorded this to show it’s not so difficult to be able to implement that code @DeanAyalon shared.

And if you want to learn about the IDE though note it was recorded a bit ago.