I've a lot of jpg images: About 30000 folder containing 5 images each --> Total amount it's about 150000 images and I want to reduce the inode number (file count on the server) because it's placed into my hosting server. So, now it's ok but if in future I will have more than 250000 files what can I do without add a secondary hosting plan?
Asked
Active
Viewed 2,702 times
-4
-
What "image URL" are you trying to get, exactly? It's not really clear what you're trying to do. – David Apr 07 '16 at 12:14
-
I want to use the images for example into an HTML image tag! – Elius94 Apr 07 '16 at 12:17
-
So then are you asking how to extract them from the archive file, so you can have a PHP page that returns the image data? What have you tried and where are you stuck? – David Apr 07 '16 at 12:19
-
This approach is generally bad. You should avoid getting image from compressed file (zip) each request to page. It will be terribly slow. Why inode number on the server is so important to you? – DevilaN Apr 07 '16 at 12:25
-
Yes, I want to extract the image and useit into the html but theese images have to be deleted when page is closed! – Elius94 Apr 07 '16 at 12:25
-
@DevilaN, my godaddy hosting have the inode limit to 250000 and now it's ok but if in the future I'll have more than 250000 images it will be a trouble – Elius94 Apr 07 '16 at 12:28
-
If it is only a matter of file numbers, than better way would be serving those files from database. – DevilaN Apr 07 '16 at 12:28
-
Yes, I can save it into MySQL but I can have only ten DB no more than 1GB each – Elius94 Apr 07 '16 at 12:31
-
1You should change your question to sth like: "How can I bypass godaddy's limits" then :) – DevilaN Apr 07 '16 at 12:38
1 Answers
0
This limitation is of Shared hosting of Godaddy.
You can Purchase VPS / Dedicated server to user more number of files for your website. Or you can Purchase Cloud space from Amozone and Push all images to Amazone server and give links to your active DB.

Nirav Patel
- 85
- 4