Blog - images & weirdness.
Am I missing something?
I'm looking to rip the blog upload images functionality into something else and noticed some things:
1) Uploading .jpg to a post (post_1) works fine. Images are sent. Editing the post the images are still there.
2) They're not displayed anywhere though (?). Didn't see anything in the model about images.
3) Uploading an image that is too big to post_2, you get the error notification, then upload a legit image and you still get the error - had to refresh the page (FF3.6.13/OSX1.5.8) for it to work again.
4) Now I have two blog posts with images, editing either one shows none of the images.
Images are dumped into the directory you set in the settings but at the root of that I.E. there is no id folder or whatever to group per post. Problem? I can't see anything in the schema to store post images.
Is their some magic happening elsewhere to pull the related images for a post on edit?
$fields['upload_images'] = array('type' => 'file', 'class' => 'multifile', 'order' => 6, 'upload_path' => assets_server_path($CI->fuel_blog->settings('asset_upload_path')), 'comment' => 'Upload images to be used with your blog posts');
That's not getting any values set there.