Open rallek opened 7 years ago
The path of the news pictures is userdata/news_pictures
. The pattern of the name is pic_sid1-0-norm.jpg
I am looking for a script which is copying the content of the database into the notice entity and picking all pictures from news with *-norm.jpg
where sid ist the id of the news.
All pictures with *-0-norm.jpg
are the image of the entity notice
. All others are images inside the entity picture
with the relation to the corresponding notice.
It would be great to have an import function for News-Module.
No idea how I should do this but it would be great 😄