Voting starts in March for the Drupal Association Board election.
Does anyone know of a way to upload an image from their own computer within Drupal 7, so that the image is displayed in an Article or Basic Page?
Failing a reply to that question, I am trying to tackle the problem myself but am now stumped.
I am currently using Drupal 7 RC2; have installed the WYSIWYG module; and have downloaded FCKeditor 2.6.6.
When I create a Basic Page and press the Image Upload button. I have the option to browse my computer for an image (I have added some code that allows me to do this).
Once the image gets uploaded it would normally get stored at /userfiles/, which is not very helpful really. I have managed to change the code that sends the image to /userfiles/, so that it gets sent to sites/default/files/styles/large/public/field/image/.
To redirect the image I changed one line of code within fckeditor\editor\filemanager\connectors\php\config.php
$Config['UserFilesPath'] = '/xampp/[website_name]/sites/default/files/styles/large/public/field/image/';
The image gets sent to the desired location, but once I save the page and attempt to view it the image doesn't get displayed, but if I was to edit the page again, the image is visible again.
Example #1 image shows the image within the editor:
Example #2 image shows the image not visible when viewing the page.
Any guidance would be much appreciated.