Please update my existing PHP script. The existing script does the following:
1- creates HTML page based on uploaded csv file
2- creates JS file based on csv file
Please insert script (Step 0) before the existing script that does the following:
- After csv upload, script crawls to URL in csv (field: "url") and copies first image found at that URL ([url removed, login to view], png or gif) into field: "IMG loc" in csv (or into DB, whichever does not disrupt steps 1 and 2)
-- If img URL is reference only (i.e. /images/[url removed, login to view]), must add contents of field:"url" before reference link to create standalone URL ("url"/example-folder/[url removed, login to view]).
-- If no image exists, leave existing default img url ([url removed, login to view])
-- Do not copy images smaller than 10px x 10px.
This as a very simple project, and I expect it is possible for $30.
The purpose of this is to attempt to copy the logo or header from the website to my HTML. If you can think of a better way, please feel free to suggest it.