Image information not getting stored in the db
Image information not getting stored in the db
I am running Joomla 2.5.19 with community surveys 3.6.3.
When I create a survey and select a "Choose Single Image" question, I can click on "Change Image" and select an image from my client. I see the image on the page and I set my answer text. That all looks fine.
When I take the survey or edit the survey, the image is blank.
Looking at the code, I see that get_image_radio_questions is building the href using the code:
$html .= '<img src="'.$base_uri.$answer->image.'" alt="'.CJFunctions::escape($answer->answer_label).'">';
I opened the database and looked at the image field. It is set to NULL.
The files are successfully uploaded to <site_dir>/media/communitysurveys/images as random strings like this:
7b65zqkerf5mau5mxdnaf8bup.jpg
c0v0new0a530mdktb05svdtad.jpg
826fvz870jbv5pl4dn6e9g37g.jpg
gt073yuj0lejha5fipak37sx5.jpg
I have tried doing this from the frontend and backend interfaces, but the results are the same.
My client computer is Windows 7 running Firefox 25.0.1
Appreciate any suggestions on how to correct this or where to look.
When I create a survey and select a "Choose Single Image" question, I can click on "Change Image" and select an image from my client. I see the image on the page and I set my answer text. That all looks fine.
When I take the survey or edit the survey, the image is blank.
Looking at the code, I see that get_image_radio_questions is building the href using the code:
$html .= '<img src="'.$base_uri.$answer->image.'" alt="'.CJFunctions::escape($answer->answer_label).'">';
I opened the database and looked at the image field. It is set to NULL.
The files are successfully uploaded to <site_dir>/media/communitysurveys/images as random strings like this:
7b65zqkerf5mau5mxdnaf8bup.jpg
c0v0new0a530mdktb05svdtad.jpg
826fvz870jbv5pl4dn6e9g37g.jpg
gt073yuj0lejha5fipak37sx5.jpg
I have tried doing this from the frontend and backend interfaces, but the results are the same.
My client computer is Windows 7 running Firefox 25.0.1
Appreciate any suggestions on how to correct this or where to look.
Access to viewing replies is restricted.
Showing 3 of 3 replies
You do not have permissions for replying to this topic.